Contains methods to query and disable OpenGL extensions. More...
#include <Inventor/devices/SoGLExtension.h>
Static Public Member Functions | |
static SbBool | isAvailable (const char *extension) |
Returns true if the extension is available. | |
static SbBool | isAvailable (const SbString &extension) |
Returns true if the extension is available. | |
static void | disableExtension (const SbString &extension) |
Disable a specific extension in software. | |
Contains methods to query and disable OpenGL extensions.
SoGLExtension is based on GLEW (the OpenGL Extension Wrangler library). The OpenGL Extension Wrangler Library (GLEW) is a cross-platform, open-source extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the current platform. Once an extension is known to be present, the function linked to that extension can be called directly.
The following list categorizes the extensions that can be queried with isAvailable():
3DFX
AMD
APPLE
ARB
ATI
EXT
GRemedy
HP
IBM
INGR
Intel
KTX
MESA
NVidia
OES
OML
PGI
Rend
S3
SGI
Sun
Win
WGL
GLX
Definition at line 668 of file SoGLExtension.h.
|
static |
Disable a specific extension in software.
The given extension will be disabled for any subsequent calls to isAvailable and for any existing contexts.
A list of extensions can be disabled using the environment variable OIV_DISABLED_GL_EXTENSION_LIST ( see SoPreferences ).
|
static |
Returns true if the extension is available.
Returns true if the extension is available.