#include <opengl.h>
Static Public Member Functions | |
| static void | check_error () |
| Throw an exception if an OpenGL error was detected ( Using glGetError() ) More... | |
| static std::vector< MessageLog_GL > | get_message_log (GLuint numMsgs) |
| Get the OpenGL message log. More... | |
| static ProcAddress * | get_proc_address (const std::string &function_name) |
| Get OpenGL extension specific function address. More... | |
| static GLuint | get_texture_handle (const TexturePtr &texture) |
| Returns the OpenGL texture handle. More... | |
| static void | set_active (const GraphicContextPtr &gc) |
| Sets the thread's OpenGL context to the one used by the graphic context. More... | |
| static void | set_active (const OpenGLContextProvider *const gc_provider) |
| Sets the thread's OpenGL context to the one used by the graphic context. More... | |
| static bool | set_active () |
| Sets the thread's OpenGL context to the first valid allocated one. More... | |
| static TextureFormat_GL | textureformat (TextureFormat format) |
| Returns the opengl texture format. More... | |
| static GLenum | to_cube_target (int index) |
| static GLenum | to_enum (DrawBuffer buf) |
| static GLenum | to_enum (CompareFunction func) |
| static GLenum | to_enum (StencilOp op) |
| static GLenum | to_enum (CullMode mode) |
| static GLenum | to_enum (FillMode mode) |
| static GLenum | to_enum (BlendFunc func) |
| static GLenum | to_enum (BlendEquation eq) |
| static GLenum | to_enum (VertexAttributeDataType value) |
| static GLenum | to_enum (PrimitivesType value) |
| static GLenum | to_enum (LogicOp op) |
| static GLenum | to_enum (TextureFilter filter) |
| static GLenum | to_enum (TextureWrapMode mode) |
| static GLenum | to_enum (TextureCompareMode mode) |
| static GLenum | to_enum (BufferUsage usage) |
| static GLenum | to_enum (BufferAccess access) |
Static Public Attributes | |
| static cl_tls_variable GLFunctions * | functions |
| Function table for OpenGL 2.0. More... | |
Friends | |
| class | GL1GraphicContext |
| class | GL3GraphicContext |
| class | PBuffer_GL1_Impl |
OpenGL utility class.
|
static |
Throw an exception if an OpenGL error was detected ( Using glGetError() )
Remember to call glGetError() to clear any previous errors
|
static |
Get the OpenGL message log.
This is required for this function to operate OpenGLContextDescription gldesc; gldesc.set_debug(true); OpenGLTarget::set_description(gldesc);
|
static |
Get OpenGL extension specific function address.
|
static |
Returns the OpenGL texture handle.
|
static |
Sets the thread's OpenGL context to the one used by the graphic context.
|
static |
Sets the thread's OpenGL context to the one used by the graphic context.
|
static |
|
static |
Returns the opengl texture format.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
friend |
|
friend |
|
friend |
|
static |
Function table for OpenGL 2.0.