Ejemplo n.º 1
0
 public void SetGraphicsConfig(bool depth, bool stencil, int msaa, GLESVersion version)
 {
     Interop.GLWindow.GlWindowSetGraphicsConfig(SwigCPtr, depth, stencil, msaa, (int)version);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
        public bool SetGraphicsConfig(bool depth, bool stencil, int msaa, GLESVersion version)
        {
            bool ret = Interop.GLView.GlViewSetGraphicsConfig(SwigCPtr, depth, stencil, msaa, (int)version);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
 internal string GLESVesionAsString()
 {
     return(String.Format("0x{0}", GLESVersion.ToString("X8")));
 }