 |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Go to the documentation of this file.
9 #include <glbinding/glbinding_api.h>
48 Version(
unsigned char majorVersion,
unsigned char minorVersion);
102 bool operator< (
const Version & version)
const;
114 bool operator> (
const Version & version)
const;
126 bool operator==(
const Version & version)
const;
138 bool operator!=(
const Version & version)
const;
150 bool operator>=(
const Version & version)
const;
162 bool operator<=(
const Version & version)
const;
171 unsigned char majorVersion()
const;
180 unsigned char minorVersion()
const;
186 operator std::pair<unsigned char, unsigned char>()
const;
192 operator std::pair<unsigned short, unsigned short>()
const;
198 operator std::pair<unsigned int, unsigned int>()
const;
207 std::string toString()
const;
216 bool isValid()
const;
236 const Version & nearest()
const;
245 static const std::set<Version> & versions();
254 static const std::set<Version> preceeding(
const Version & version);
263 static const std::set<Version> succeeding(
const Version & version);
272 static const Version & latest();
static const Version s_latest
The most current version.
Definition: Version.h:280
unsigned char m_minor
The minor version.
Definition: Version.h:276
static const std::set< Version > s_validVersions
The set of all valid versions.
Definition: Version.h:279
unsigned char m_major
The major version.
Definition: Version.h:275
Contains all the classes of glbinding.
GLBINDING_API std::ostream & operator<<(std::ostream &stream, const glbinding::Version &version)
The operator to allow Versions to be printed onto a std::ostream.
The Version class represents an OpenGL feature, consisting of majow version and minor version,...
Definition: Version.h:30