The ContextInfo class allows for access to metainformation about a context. The information is only valid for the currently active context.
More...
#include <glbinding/include/glbinding/ContextInfo.h>
|
| | ContextInfo ()=delete |
| | Deleted Constructor; this class is intended to be used without instantiation. More...
|
| |
|
| static std::set< gl::GLextension > | extensions (std::set< std::string > *unknown=nullptr) |
| | Gathers information about the available extensions in the current context. More...
|
| |
| static std::string | renderer () |
| | Queries the renderer string. More...
|
| |
| static std::string | vendor () |
| | Queries the vendor string. More...
|
| |
| static Version | version () |
| | Queries the OpenGL feature number. More...
|
| |
The ContextInfo class allows for access to metainformation about a context. The information is only valid for the currently active context.
| glbinding::ContextInfo::ContextInfo |
( |
| ) |
|
|
delete |
Deleted Constructor; this class is intended to be used without instantiation.
| static std::set<gl::GLextension> glbinding::ContextInfo::extensions |
( |
std::set< std::string > * |
unknown = nullptr | ) |
|
|
static |
Gathers information about the available extensions in the current context.
- Parameters
-
| [out] | unknown | (optional) The list of extension names for available extensions not known by glbinding. |
- Returns
- The list of available extensions known by glbinding.
| static std::string glbinding::ContextInfo::renderer |
( |
| ) |
|
|
static |
Queries the renderer string.
- Returns
- The renderer string.
| static std::string glbinding::ContextInfo::vendor |
( |
| ) |
|
|
static |
Queries the vendor string.
- Returns
- The vendor string.
| static Version glbinding::ContextInfo::version |
( |
| ) |
|
|
static |
Queries the OpenGL feature number.
- Returns
- The version encoding the OpenGL feature.
The documentation for this class was generated from the following file: