The SoGlobalGLContextScope can be used to automatically push/pop the current GL context and to enable...
SoGlobalGLContextScope()
Stores current GL context and activates global shared Open Inventor GL context.
int getShareID()
Get the Open Inventor context share id, which is required for GLRender actions.
static void registerSoQtGLWidgetGLContextCallbacks()
static int getGlobalShareID()
Get the global Open Inventor context share id, which is required for GLRender actions.
void deactivate()
Activates the previous stored GL context (same as destructor).
~SoGlobalGLContextScope()
Activates the previous stored GL context.