The SoGlobalGLContextScope can be used to automatically push/pop the current GL context and to enable...
static bool useNewOpenGLWidget()
Forwarding of SoQt::useNewOpenGLWidget()
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 QGLWidget * getGlobalGLWidget()
Get access to globally shared QGLWidget.
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.