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

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