Exemplo n.º 1
0
 public void setDrawBuffer(ColourBufferType colourBuffer)
 {
     OgrePINVOKE.Viewport_setDrawBuffer(swigCPtr, (int)colourBuffer);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public ColourBufferType getDrawBuffer()
        {
            ColourBufferType ret = (ColourBufferType)OgrePINVOKE.Viewport_getDrawBuffer(swigCPtr);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }