Wrapper for the GL string-query-related operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/context/string_queries.hpp>
Static Public Member Functions | |
static const GLubyte * | GetString (StringQuery query) |
Queries a string describing GL properties. More... | |
static const char * | Vendor (void) |
Returns the vendor name. More... | |
static const char * | Version (void) |
Returns the version string. More... | |
static GLuint | NumShadingLanguageVersions (void) |
Queries the number of supported shading language versions. More... | |
static const GLubyte * | ShadingLanguageVersion (GLuint index) |
Returns the name of index -th supported shading language version. More... | |
static Range< String > | ShadingLanguageVersions (void) |
Returns a range of supported GLSL version strings. More... | |
static const char * | ShadingLanguageVersion (void) |
Returns the shading language version string. More... | |
static const char * | Renderer (void) |
Returns the renderer name. More... | |
static GLuint | NumExtensions (void) |
Queries the number of extension strings. More... | |
static const GLubyte * | Extensions (GLuint index) |
Returns the name of the index -th extension. More... | |
static Range< StrCRef > | Extensions (void) |
Returns a range of extension strings. More... | |
Wrapper for the GL string-query-related operations.
|
static |
Returns the name of the index
-th extension.
Error |
GL_EXTENSIONS
Returns a range of extension strings.
GL_EXTENSIONS
|
static |
Queries a string describing GL properties.
Error |
Referenced by Renderer(), ShadingLanguageVersion(), Vendor(), and Version().
|
static |
|
static |
Queries the number of supported shading language versions.
Error |
Requires OpenGL 4.3.
GL_NUM_SHADING_LANGUAGE_VERSIONS
|
static |
Returns the renderer name.
GL_RENDERER
References GetString(), and oglplus::Renderer.
|
static |
Returns the name of index
-th supported shading language version.
Error |
Requires OpenGL 4.3.
GL_EXTENSIONS
|
static |
Returns the shading language version string.
GL_SHADING_LANGUAGE_VERSION
References GetString(), and oglplus::ShadingLanguageVersion.
Returns a range of supported GLSL version strings.
Requires OpenGL 4.3.
GL_SHADING_LANGUAGE_VERSION
|
static |
Returns the vendor name.
GL_VENDOR
References GetString(), and oglplus::Vendor.
|
static |
Returns the version string.
GL_VERSION
References GetString(), and oglplus::Version.