Display target for clanDisplay. More...
#include <opengl_target.h>
Static Public Member Functions | |
static OpenGLContextDescription | get_description () |
Target should be current (using set_current() ) before using this function. More... | |
static std::vector< std::string > | get_extensions (const GraphicContext &gc) |
Get the list of opengl extensions. More... | |
static void | get_opengl_shading_language_version (const GraphicContext &gc, int &version_major, int &version_minor) |
Get the opengl shading language version. More... | |
static void | get_opengl_version (const GraphicContext &gc, int &version_major, int &version_minor) |
Get the opengl version. More... | |
static void | get_opengl_version (const GraphicContext &gc, int &version_major, int &version_minor, int &version_release) |
Get the opengl version. More... | |
static std::string | get_renderer_string (const GraphicContext &gc) |
Get the opengl renderer string. More... | |
static std::string | get_vendor_string (const GraphicContext &gc) |
Get the opengl vendor string. More... | |
static bool | is_current () |
Returns true if this display target is the current target. More... | |
static void | set_active_context (const GraphicContext &gc) |
Set OpenGL context used by this GraphicContext to be active. More... | |
static void | set_current () |
Set this display target to be the current target. More... | |
static void | set_description (OpenGLContextDescription &desc) |
Target should be current (using set_current() ) before using this function. More... | |
Display target for clanDisplay.
|
static |
Target should be current (using set_current() ) before using this function.
|
static |
Get the list of opengl extensions.
|
static |
Get the opengl shading language version.
version_major | = On Return: Major |
version_minor | = On Return: Minor |
|
static |
Get the opengl version.
version_major | = On Return: Major |
version_minor | = On Return: Minor |
|
static |
Get the opengl version.
version_major | = On Return: Major |
version_minor | = On Return: Minor |
version_release | = On Return: Release |
|
static |
Get the opengl renderer string.
|
static |
Get the opengl vendor string.
|
static |
Returns true if this display target is the current target.
This may change after a display window has been created
|
static |
Set OpenGL context used by this GraphicContext to be active.
|
static |
Set this display target to be the current target.
|
static |
Target should be current (using set_current() ) before using this function.