GLVersion

An enum of the existing OpenGL versions. Use this class to generate rendering objects compatible with the version.

Members

Functions

getFull
uint getFull()

Returns the full version number of the version.

getGLSLFull
uint getGLSLFull()

Returns the full GLSL version available with the OpenGL version.

getGLSLMajor
uint getGLSLMajor()

Returns the GLSL major version available with the OpenGL version. This version number is 0 if GLSL isn't supported.

getGLSLMinor
uint getGLSLMinor()

Returns the GLSL minor version available with the OpenGL version.

getMajor
uint getMajor()

Returns the major version number of the version.

getMinor
uint getMinor()

Returns the minor version number of the version.

isES
bool isES()

Returns true if the version is ES compatible, false if not.

supportsGLSL
bool supportsGLSL()

Returns true if this version supports GLSL, false if not.

Meta