nCine::GfxCapabilities class

Stores and retrieves runtime OpenGL device capabilities.

Base classes

class IGfxCapabilities
Interface to query runtime OpenGL device capabilities.

Constructors, destructors, conversion operators

GfxCapabilities()

Public functions

auto glVersion(GLVersion version) const -> int override
Returns the OpenGL version numbers.
auto glInfoStrings() const -> const GlInfoStrings& override
Returns the OpenGL information strings structure.
auto value(GLIntValues valueName) const -> int override
Returns the value of a runtime OpenGL integer value.
auto arrayValue(GLArrayIntValues arrayValueName, unsigned int index) const -> int override
Returns the value of a runtime OpenGL integer value from an array.
auto hasExtension(GLExtensions extensionName) const -> bool override
Returns true if the specified OpenGL extension is available.