GLContext
The GLContext class is an OpenGL-specific implementation of the Context class. It initializes the rendering context using an externally provided OpenGL context. The class provides access to OpenGL context-related resources, including the display, visual, configuration, surface, and the context.
#include <platform/TellusimContext.h>
Inheritance
- Inherits from Context
Constructors
GLContext()
Methods
Create context.
bool create(void *context)
Current context.
void *getGLDisplay() const
void *getGLVisual() const
void *getGLConfig() const
void *getGLSurface() const
void *getGLContext() const
OpenGL functions.
static void *getProcAddress(const char *name)
Check OpenGL errors.
static bool error(uint32_t result)
static bool check()