![opengl 4.4 texture units opengl 4.4 texture units](https://s3.manualzz.com/store/data/032118467_1-1e58a7f9c8c184e33d3c02f1715f8d7e-360x466.png)
This function retrieves information from GL about free GPU memory that is: More. Return true if active mode is GL_FEEDBACK (cached state) More. Return true if active mode is GL_RENDER (cached state) More. SetSwapInterval (const Standard_Integer theInterval) Swap front/back buffers for this GL context (should be activated before!). Class should be initialized with appropriate info. This method uses system-dependent API to retrieve information about GL context bound to the current thread. ResetErrors (const bool theToPrintErrors=false)Ĭlean up errors stack for this GL context (glGetError() in loop).
![opengl 4.4 texture units opengl 4.4 texture units](https://user-images.githubusercontent.com/4194609/38770610-dae4432c-4015-11e8-8b09-a25d1224e2c3.png)
More.Īccess entire map of loaded OpenGL functions. IsGlGreaterEqual (const Standard_Integer theVerMajor, const Standard_Integer theVerMinor) const Same as FindProcVerbose() but without auxiliary last function name argument. More.įindProc (const char *theFuncName, FuncType_t &theFuncPtr)Īuxiliary template to retrieve GL function pointer. Pointer to function retrieved from library is statically casted to requested type - there no way to check real signature of exported function. More.įindProcVerbose (const char *&theLastFailFuncName, const char *theFuncName, FuncType_t &theFuncPtr)Īuxiliary template to retrieve GL function pointer. More.ĬheckExtension (const char *theExtName) constĬheck if theExtName extension is supported by active GL context. Return rendering context (EGLContext | HGLRC | GLXContext | EAGLContext* | NSOpenGLContext*). Return display / window device context (EGLDisplay | HDC | Display*). Return window handle currently bound to this OpenGL context (EGLSurface | HWND | GLXDrawable). The meaning of parameters is platform-specific. Initialize class from specified surface and rendering context. Init (const Aspect_Drawable theSurface, const Aspect_Display theDisplay, const Aspect_RenderingContext theContext, const Standard_Boolean theIsCoreProfile= Standard_False) Initialize class from currently bound OpenGL context.
![opengl 4.4 texture units opengl 4.4 texture units](https://i.stack.imgur.com/8Jh4z.png)
Init (const Standard_Boolean theIsCoreProfile= Standard_False) theShareCtx - handle to context to retrieve handles to shared resources. Release all resources, including shared ones. You should call Init() to perform initialization with bound GL context. OpenGl_Context (const Handle &theCaps=NULL)Įmpty constructor. Returns a type descriptor about this object. Public Types inherited from Standard_Transient