![]() |
glbinding
3.3.0.0
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-aux/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 &bitfield) |
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 gl::GLenum | getEnum (const std::string &glenum) |
Converts a GLenum to a string. | |
static std::set< 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 &boolean) |
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 &extension) |
Converts a string to an GLextension. | |
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 a function. | |
static const std::set< Version > | versions (const std::string &glfunction) |
Returns the list of features that are requiring a 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 extension) |
Returns the set of functions that are required for the extension. | |
static const Version & | version (gl::GLextension glextension) |
Returns the first 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) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::BufferStorageMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::ClearBufferMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::ClientAttribMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::ContextFlagMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::ContextProfileMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::FfdMaskSGIX glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::FragmentShaderColorModMaskATI glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::FragmentShaderDestMaskATI glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::FragmentShaderDestModMaskATI glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::MapBufferAccessMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::MemoryBarrierMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::OcclusionQueryEventMaskAMD glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::PathFontStyle glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::PathMetricMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::PathRenderingMaskNV glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::PerformanceQueryCapsMaskINTEL glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::SyncObjectMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::TextureStorageMaskAMD glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::UnusedMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::UseProgramStageMask glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::VertexHintsMaskPGI glbitfield) |
Convert bitfield to symbol name string representation. | |
static const std::string & | getString (gl::GLenum glenum) |
Convert enum to symbol name string representation. | |
static std::vector< std::string > | getStrings (gl::GLenum glenum) |
Convert enum to symbol name string representation. | |
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] | bitfield | 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 |
Converts a string to an enum symbol
[in] | glenum | The string representation of the enum |
|
static |
Returns the list of all enums known by the gl.xml.
|
static |
Converts a GLboolean to a string.
[in] | glboolean | The boolean to convert |
GL_TRUE
or GL_FALSE
Converts a string to a GLboolean symbol.
[in] | boolean | The string representation of the GLboolean |
GL_FALSE
if failed Converts a GLextension to its string representation.
[in] | glextension | The extension to convert |
Converts a string to an GLextension.
[in] | extension | 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 a function.
[in] | function | The name of the function, including the 'gl' prefix |
|
static |
Returns the list of features that are requiring a function.
[in] | function | 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] | extension | The extension to return the required functions for |
Returns the list of all Versions (Features) known by the gl.xml.
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
|
static |
Convert bitfield to symbol name string representation.
[in] | bitfield | The bitfield value |
Convert enum to symbol name string representation.
[in] | enum | The enum value |
|
static |
Convert enum to symbol name string representation.
[in] | enum | The enum value |