58 static std::set<gl::GLextension>
extensions(std::set<std::string> * unknown);
70 static std::set<gl::GLextension>
extensions(std::set<std::string> & unknown);
109 static bool supported(
const std::set<gl::GLextension> & extensions);
125 const std::set<gl::GLextension> & extensions
126 , std::set<gl::GLextension> & unsupported);
159 , std::set<gl::GLextension> & unsupportedExtensions
160 , std::set<AbstractFunction *> & unsupportedFunctions
161 ,
bool resolve =
false);
The ContextInfo class allows for access to metainformation about a context. The information is only v...
Definition ContextInfo.h:28
ContextInfo()=delete
Deleted Constructor; this class is intended to be used without instantiation.
static Version version()
Queries the OpenGL feature number.
static std::set< gl::GLextension > extensions(std::set< std::string > *unknown)
Gathers information about the available extensions in the current context.
static std::set< gl::GLextension > extensions()
Gathers information about the available extensions in the current context.
static std::set< gl::GLextension > extensions(std::set< std::string > &unknown)
Gathers information about the available extensions in the current context.
static std::string vendor()
Queries the vendor string.
static bool supported(const std::set< gl::GLextension > &extensions, std::set< gl::GLextension > &unsupported)
Queries if all given extensions are supported.
static bool supported(const std::set< gl::GLextension > &extensions)
Queries if all given extensions are supported.
static bool supported(const Version &version, std::set< gl::GLextension > &unsupportedExtensions, std::set< AbstractFunction * > &unsupportedFunctions, bool resolve=false)
Queries all missing extensions for the given OpenGL feature.
static std::string renderer()
Queries the renderer string.
static bool supported(const Version &version, bool resolve=false)
Queries all missing extensions and unresolved functions for the given OpenGL feature.