Esempio n. 1
0
 public virtual void CopyToBuffer(GraphicsBuffer rhs)
 {
     IGraphicsBufferPINVOKE.GraphicsBuffer_CopyToBuffer(swigCPtr, GraphicsBuffer.getCPtr(rhs));
     if (IGraphicsBufferPINVOKE.SWIGPendingException.Pending)
     {
         throw IGraphicsBufferPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 IGraphicsBufferPINVOKE.delete_GraphicsBuffer(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Esempio n. 3
0
        public uint GetAccess()
        {
            uint ret = IGraphicsBufferPINVOKE.GraphicsBuffer_GetAccess(swigCPtr);

            return(ret);
        }
Esempio n. 4
0
        public BufferUsage GetUsage()
        {
            BufferUsage ret = (BufferUsage)IGraphicsBufferPINVOKE.GraphicsBuffer_GetUsage(swigCPtr);

            return(ret);
        }