GLESContext
The GLESContext class is an OpenGLES-specific implementation of the Context class. It initializes the rendering context using an externally provided OpenGLES context. The class provides access to OpenGLES context-related resources, including the display, configuration, and the context.
#include <platform/TellusimContext.h>
Inheritance
- Inherits from Context
Constructors
explicit GLESContext(uint32_t index = Maxu32)
Methods
Create context.
bool create(void *context)
Current context.
void *getGLESDisplay() const
void *getGLESConfig() const
void *getGLESContext() const
Context info.
static String getExtensions()
Check context info.
static bool checkExtension(const char *name)
OpenGLES functions.
static void *getProcAddress(const char *name)
Check OpenGLES errors.
static bool error(uint32_t result)
static bool check()