#include <GLFunctions.h>
Public Methods | |
~GLFunctions (void) | |
Constructor Destructor. More... | |
bool | isAvailable (const std::string &extension) const |
Test if a given extension is available on the current context. More... | |
bool | isExported (const std::string &extension) const |
Test if a given extension is exported on the current context. More... |
For every OpenGL context (HGLRC) there might exist a different set of extension functions. A GLFunctions holds all function pointers of one context. If you're using the uppercase WGL prefix-functions WGLCreateContext
, WGLMakeCurrent
, and WGLDeleteContext
(see GLCache), one GLFunctions object is maintained per OpenGL context and switched accordingly.
|
Constructor Destructor.
|
|
Test if a given extension is available on the current context.
|
|
Test if a given extension is exported on the current context.
|