SoGLContextGetCurrent Method (Boolean) |
Returns the current active OpenGL context (if any).
Namespace: OIV.Inventor.Devices
This param is no longer used.
The current OpenGL context (or NULL if there isn't one).
This method returns the current active OpenGL context from the Open Inventor state. However it can also get the actual current context from OpenGL. It may be useful if Open Inventor should render using an OpenGL context created by the application or a third-party library. In that case, Open Inventor will create a new OIV.Inventor.Devices.SoGLContext using contextId returned by system getCurrentContext() method.