public new static vtkPixelBufferObject New()
        {
            vtkPixelBufferObject result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkPixelBufferObject.vtkPixelBufferObject_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPixelBufferObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public new static vtkPixelBufferObject SafeDownCast(vtkObjectBase o)
        {
            vtkPixelBufferObject vtkPixelBufferObject = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPixelBufferObject.vtkPixelBufferObject_SafeDownCast_19((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPixelBufferObject = (vtkPixelBufferObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPixelBufferObject.Register(null);
                }
            }
            return(vtkPixelBufferObject);
        }
예제 #3
0
        public vtkPixelBufferObject Download()
        {
            vtkPixelBufferObject vtkPixelBufferObject = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTextureObject.vtkTextureObject_Download_15(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPixelBufferObject = (vtkPixelBufferObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPixelBufferObject.Register(null);
                }
            }
            return(vtkPixelBufferObject);
        }
예제 #4
0
 public bool CreateDepth(uint width, uint height, int internalFormat, vtkPixelBufferObject pbo)
 {
     return(vtkTextureObject.vtkTextureObject_CreateDepth_13(base.GetCppThis(), width, height, internalFormat, (pbo == null) ? default(HandleRef) : pbo.GetCppThis()) != 0);
 }
예제 #5
0
 public bool Create3D(uint width, uint height, uint depth, int numComps, vtkPixelBufferObject pbo, bool shaderSupportsTextureInt)
 {
     return(vtkTextureObject.vtkTextureObject_Create3D_11(base.GetCppThis(), width, height, depth, numComps, (pbo == null) ? default(HandleRef) : pbo.GetCppThis(), shaderSupportsTextureInt ? (byte)1 : (byte)0) != 0);
 }
예제 #6
0
 public bool Create1D(int numComps, vtkPixelBufferObject pbo, bool shaderSupportsTextureInt)
 {
     return(vtkTextureObject.vtkTextureObject_Create1D_08(base.GetCppThis(), numComps, (pbo == null) ? default(HandleRef) : pbo.GetCppThis(), shaderSupportsTextureInt ? (byte)1 : (byte)0) != 0);
 }