Пример #1
0
        public new static vtkOpenGLExtensionManager New()
        {
            vtkOpenGLExtensionManager result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOpenGLExtensionManager.vtkOpenGLExtensionManager_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkOpenGLExtensionManager)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkOpenGLExtensionManager GetExtensionManager()
        {
            vtkOpenGLExtensionManager vtkOpenGLExtensionManager = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOpenGLRenderWindow.vtkOpenGLRenderWindow_GetExtensionManager_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkOpenGLExtensionManager = (vtkOpenGLExtensionManager)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkOpenGLExtensionManager.Register(null);
                }
            }
            return(vtkOpenGLExtensionManager);
        }
Пример #3
0
        public new static vtkOpenGLExtensionManager SafeDownCast(vtkObjectBase o)
        {
            vtkOpenGLExtensionManager vtkOpenGLExtensionManager = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOpenGLExtensionManager.vtkOpenGLExtensionManager_SafeDownCast_12((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkOpenGLExtensionManager = (vtkOpenGLExtensionManager)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkOpenGLExtensionManager.Register(null);
                }
            }
            return(vtkOpenGLExtensionManager);
        }
Пример #4
0
 public void SetExtensionManager(vtkOpenGLExtensionManager extensionManager)
 {
     vtkOpenGLHardwareSupport.vtkOpenGLHardwareSupport_SetExtensionManager_10(base.GetCppThis(), (extensionManager == null) ? default(HandleRef) : extensionManager.GetCppThis());
 }