#include <glbinding-aux/ValidVersions.h>
|
static bool | isValid (const Version &version) |
| Check for validity of this Version, based on the list of all valid features.
|
|
static const Version & | nearest (const Version &version) |
| Returns the nearest valid Version to this Version.
|
|
static const std::set< Version > & | versions () |
| Accessor for the list of all valid Versions (OpenGL features)
|
|
static std::set< Version > | preceeding (const Version &version) |
| Returns the list of all valid, previous Versions (Features) known by the gl.xml.
|
|
static std::set< Version > | succeeding (const Version &version) |
| Returns the list of all valid, subsequent Versions (Features) known by the gl.xml.
|
|
static const Version & | latest () |
| Return the most current valid Version.
|
|
◆ isValid()
static bool glbinding::aux::ValidVersions::isValid |
( |
const Version & | version | ) |
|
|
static |
Check for validity of this Version, based on the list of all valid features.
- Returns
true
iff the version is valid (i.e., if this version is present in the set of valid versions)
◆ nearest()
static const Version & glbinding::aux::ValidVersions::nearest |
( |
const Version & | version | ) |
|
|
static |
◆ versions()
static const std::set< Version > & glbinding::aux::ValidVersions::versions |
( |
| ) |
|
|
static |
Accessor for the list of all valid Versions (OpenGL features)
- Returns
- The set of all valid Versions (= released OpenGL Features)
◆ preceeding()
static std::set< Version > glbinding::aux::ValidVersions::preceeding |
( |
const Version & | version | ) |
|
|
static |
Returns the list of all valid, previous Versions (Features) known by the gl.xml.
- Returns
- The list of all valid Versions (Features) with a version number below the provided one
◆ succeeding()
static std::set< Version > glbinding::aux::ValidVersions::succeeding |
( |
const Version & | version | ) |
|
|
static |
Returns the list of all valid, subsequent Versions (Features) known by the gl.xml.
- Returns
- The list of all valid Versions (Features) with a version number above the provided one
◆ latest()
static const Version & glbinding::aux::ValidVersions::latest |
( |
| ) |
|
|
static |
Return the most current valid Version.
- Returns
- The most current Version from the set of all valid versions
◆ s_validVersions
const std::set<Version> glbinding::aux::ValidVersions::s_validVersions |
|
staticprotected |
The set of all valid versions.
◆ s_latest
const Version glbinding::aux::ValidVersions::s_latest |
|
staticprotected |
The most current version.
The documentation for this class was generated from the following file: