A set of miscellaneous openGL helper functions.
More...
|
| static void | resetErrorState () |
| | Clears the GL error state.
|
| |
| static bool | isContextActive () |
| | Returns true if the current thread has an active OpenGL context.
|
| |
| static void | clear (const Colour &colour) |
| | Clears the current context using the given colour.
|
| |
| static void | enableScissorTest (const Rectangle< int > &clip) |
| |
| static bool | isExtensionSupported (const char *extensionName) |
| | Checks whether the current context supports the specified extension.
|
| |
| static void * | getExtensionFunction (const char *functionName) |
| | Returns the address of a named GL extension function.
|
| |
A set of miscellaneous openGL helper functions.
| static void OpenGLHelpers::resetErrorState |
( |
| ) |
|
|
static |
Clears the GL error state.
| static bool OpenGLHelpers::isContextActive |
( |
| ) |
|
|
static |
Returns true if the current thread has an active OpenGL context.
| static void OpenGLHelpers::clear |
( |
const Colour & |
colour | ) |
|
|
static |
Clears the current context using the given colour.
| static void OpenGLHelpers::enableScissorTest |
( |
const Rectangle< int > & |
clip | ) |
|
|
static |
| static bool OpenGLHelpers::isExtensionSupported |
( |
const char * |
extensionName | ) |
|
|
static |
Checks whether the current context supports the specified extension.
| static void* OpenGLHelpers::getExtensionFunction |
( |
const char * |
functionName | ) |
|
|
static |
Returns the address of a named GL extension function.
The documentation for this class was generated from the following file: