glbinding  2.0.0.00e2ff521289
A C++ binding for the OpenGL API, generated using the gl.xml specification.

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>

Public Member Functions

 ContextInfo ()=delete
 Deleted Constructor; this class is intended to be used without instantiation. More...
 

Static Public Member Functions

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...
 

Detailed Description

The ContextInfo class allows for access to metainformation about a context. The information is only valid for the currently active context.

Constructor & Destructor Documentation

glbinding::ContextInfo::ContextInfo ( )
delete

Deleted Constructor; this class is intended to be used without instantiation.

Member Function Documentation

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: