![]() |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Provisioning of meta information about OpenGL extensions, functions and conversion of strings and symbols of the OpenGL API. More...
#include <glbinding/include/glbinding/Meta.h>
Public Member Functions | |
Meta ()=delete | |
Deleted Constructor as all functions are static. | |
Static Public Member Functions | |
static int | glRevision () |
Returns the revision of the parsed gl.xml file. | |
static gl::GLbitfield | getBitfield (const std::string &glbitfield) |
Converts a string into a bitfield symbol. | |
static std::vector< gl::GLbitfield > | bitfields () |
Returns the list of all bitfields known by the gl.xml. | |
static const std::string & | getString (gl::GLenum glenum) |
Converts a GLenum to a string. | |
static gl::GLenum | getEnum (const std::string &glenum) |
Converts a string to a GLenum symbol. | |
static std::vector< gl::GLenum > | enums () |
Returns the list of all enums known by the gl.xml. | |
static const std::string & | getString (const gl::GLboolean &glboolean) |
Converts a GLboolean to a string. | |
static gl::GLboolean | getBoolean (const std::string &glboolean) |
Converts a string to a GLboolean symbol. | |
static const std::string & | getString (gl::GLextension glextension) |
Converts a GLextension to its string representation. | |
static gl::GLextension | getExtension (const std::string &glextension) |
Converts a string to an extension. | |
static std::set< gl::GLextension > | extensions () |
Returns the set of all extensions known by the gl.xml. | |
static const std::set< gl::GLextension > | extensions (const Version &version) |
Returns the set of extensions that are required for by the given version. | |
static const std::set< gl::GLextension > | extensions (const std::string &glfunction) |
Returns the list of extensions that are requiring an OpenGL function. | |
static const std::set< AbstractFunction * > | functions (const Version &version) |
Returns the set of functions that are required for the version. | |
static const std::set< AbstractFunction * > | functions (gl::GLextension glextension) |
Returns the set of functions that are required for the extension. | |
static const Version & | version (gl::GLextension glextension) |
Returns the first OpenGL Version (Feature) that required the extension. | |
static const Version & | getRequiringVersion (gl::GLextension glextension) |
Returns the first OpenGL Version (Feature) that required the extension. | |
static const std::set< Version > & | versions () |
Returns the list of all Versions (Features) known by the gl.xml. | |
static const std::string & | getString (gl::AttribMask glbitfield) |
static const std::string & | getString (gl::BufferAccessMask glbitfield) |
static const std::string & | getString (gl::BufferStorageMask glbitfield) |
static const std::string & | getString (gl::ClearBufferMask glbitfield) |
static const std::string & | getString (gl::ClientAttribMask glbitfield) |
static const std::string & | getString (gl::ContextFlagMask glbitfield) |
static const std::string & | getString (gl::ContextProfileMask glbitfield) |
static const std::string & | getString (gl::FfdMaskSGIX glbitfield) |
static const std::string & | getString (gl::FragmentShaderColorModMaskATI glbitfield) |
static const std::string & | getString (gl::FragmentShaderDestMaskATI glbitfield) |
static const std::string & | getString (gl::FragmentShaderDestModMaskATI glbitfield) |
static const std::string & | getString (gl::MapBufferUsageMask glbitfield) |
static const std::string & | getString (gl::MemoryBarrierMask glbitfield) |
static const std::string & | getString (gl::PathFontStyle glbitfield) |
static const std::string & | getString (gl::PathRenderingMaskNV glbitfield) |
static const std::string & | getString (gl::PerformanceQueryCapsMaskINTEL glbitfield) |
static const std::string & | getString (gl::SyncObjectMask glbitfield) |
static const std::string & | getString (gl::TextureStorageMaskAMD glbitfield) |
static const std::string & | getString (gl::UnusedMask glbitfield) |
static const std::string & | getString (gl::UseProgramStageMask glbitfield) |
static const std::string & | getString (gl::VertexHintsMaskPGI glbitfield) |
Provisioning of meta information about OpenGL extensions, functions and conversion of strings and symbols of the OpenGL API.
|
delete |
Deleted Constructor as all functions are static.
Returns the revision of the parsed gl.xml file.
Converts a string into a bitfield symbol.
[in] | glbitfield | The string representation of the bitfield. |
|
static |
Returns the list of all bitfields known by the gl.xml.
Converts a GLenum to a string.
[in] | glenum | The enum to convert. |
Beware, that some enums in the OpenGL API have different symbol names but identical enum values and that this function cannot differentiate between them.
Converts a string to a GLenum symbol.
[in] | glenum | The string representation of the enum. |
|
static |
Returns the list of all enums known by the gl.xml.
Converts a GLboolean to a string.
[in] | glboolean | The boolean to convert. |
Can either be 'GL_TRUE' or 'GL_FALSE'.
Converts a string to a GLboolean symbol.
[in] | glboolean | The string representation of the GLboolean. |
Converts a GLextension to its string representation.
[in] | glextension | The extension to convert. |
Converts a string to an extension.
[in] | glextension | The string representation of the extension. |
|
static |
Returns the set of all extensions known by the gl.xml.
|
static |
Returns the set of extensions that are required for by the given version.
[in] | version | The version/feature to return the required extensions for. If an null version is given, all extensions that have no version/feature associated are returned instead. |
|
static |
Returns the list of extensions that are requiring an OpenGL function.
[in] | glfunction | The name of the function, including the 'gl' prefix. |
|
static |
Returns the set of functions that are required for the version.
[in] | version | The version to return the required functions for. |
|
static |
Returns the set of functions that are required for the extension.
[in] | glextension | The extension to return the required functions for. |
Returns the first OpenGL Version (Feature) that required the extension.
[in] | glextension | The extension. |
Returns the list of all Versions (Features) known by the gl.xml.
|
static |
|
static |
|
static |
|
static |
|
static |