Holds version information about a particular OpenGL API.
Public Member Functions | |
| OpenGLVersion ()=default | |
| Default constructor, both fields are initialised to 0. | |
| OpenGLVersion (int majorIn) | |
| Initialises the major field only. | |
| OpenGLVersion (int majorIn, int minorIn) | |
| Initialises the major and minor fields. | |
| bool | operator== (const OpenGLVersion &) const |
| bool | operator!= (const OpenGLVersion &) const |
| bool | operator< (const OpenGLVersion &) const |
| bool | operator<= (const OpenGLVersion &) const |
| bool | operator> (const OpenGLVersion &) const |
| bool | operator>= (const OpenGLVersion &) const |
Public Attributes | |
| int | major = 0 |
| Major version, i.e. the "4" in "4.3". | |
| int | minor = 0 |
| Minor version, i.e. the "3" in "4.3". | |
|
default |
Default constructor, both fields are initialised to 0.
Referenced by OpenGLVersion(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
|
inlineexplicit |
Initialises the major field only.
References OpenGLVersion().
|
inline |
| bool juce::OpenGLVersion::operator== | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| bool juce::OpenGLVersion::operator!= | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| bool juce::OpenGLVersion::operator< | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| bool juce::OpenGLVersion::operator<= | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| bool juce::OpenGLVersion::operator> | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| bool juce::OpenGLVersion::operator>= | ( | const OpenGLVersion & | ) | const |
References OpenGLVersion().
| int juce::OpenGLVersion::major = 0 |
Major version, i.e. the "4" in "4.3".
Referenced by OpenGLVersion().
| int juce::OpenGLVersion::minor = 0 |
Minor version, i.e. the "3" in "4.3".
Referenced by OpenGLVersion().