public HardwarePixelBufferPtr(HardwarePixelBufferPtr r) : this(OgrePINVOKE.new_HardwarePixelBufferPtr__SWIG_2(HardwarePixelBufferPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void blit(HardwarePixelBufferPtr src)
 {
     OgrePINVOKE.HardwarePixelBufferPtr_blit__SWIG_1(swigCPtr, HardwarePixelBufferPtr.getCPtr(src));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void blit(HardwarePixelBufferPtr src, Box srcBox, Box dstBox)
 {
     OgrePINVOKE.HardwarePixelBufferPtr_blit__SWIG_0(swigCPtr, HardwarePixelBufferPtr.getCPtr(src), Box.getCPtr(srcBox), Box.getCPtr(dstBox));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public HardwarePixelBufferPtr getBuffer()
        {
            HardwarePixelBufferPtr ret = new HardwarePixelBufferPtr(OgrePINVOKE.TexturePtr_getBuffer__SWIG_2(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public virtual HardwarePixelBufferPtr getBuffer(uint face)
        {
            HardwarePixelBufferPtr ret = new HardwarePixelBufferPtr(OgrePINVOKE.Texture_getBuffer__SWIG_1(swigCPtr, face), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HardwarePixelBufferPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }