glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding
include
glbinding
ContextInfo.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include <set>
5
#include <string>
6
7
#include <glbinding/glbinding_api.h>
8
9
10
namespace
gl
11
{
12
enum class
GLextension : int;
13
}
14
15
16
namespace
glbinding
17
{
18
19
class
AbstractFunction;
20
class
Version;
21
27
class
GLBINDING_API
ContextInfo
28
{
29
public
:
34
ContextInfo
() =
delete
;
35
43
static
std::set<gl::GLextension> extensions();
44
58
static
std::set<gl::GLextension> extensions(std::set<std::string> * unknown);
59
70
static
std::set<gl::GLextension> extensions(std::set<std::string> & unknown);
71
79
static
std::string renderer();
80
88
static
std::string vendor();
89
97
static
Version
version();
98
109
static
bool
supported(
const
std::set<gl::GLextension> & extensions);
110
124
static
bool
supported(
125
const
std::set<gl::GLextension> & extensions
126
, std::set<gl::GLextension> & unsupported);
127
140
static
bool
supported(
const
Version
& version,
bool
resolve =
false
);
141
158
static
bool
supported(
const
Version
& version
159
, std::set<gl::GLextension> & unsupportedExtensions
160
, std::set<AbstractFunction *> & unsupportedFunctions
161
,
bool
resolve =
false
);
162
163
};
164
165
166
}
// namespace glbinding
glbinding::ContextInfo
The ContextInfo class allows for access to metainformation about a context. The information is only v...
Definition:
ContextInfo.h:27
gl
Definition:
ContextInfo.h:10
glbinding
Contains all the classes of glbinding.
glbinding::Version
The Version class represents an OpenGL feature, consisting of majow version and minor version,...
Definition:
Version.h:30
Generated on Mon Apr 25 2022 14:03:04 for glbinding by
1.8.17