|
SimpleGL
1.1.0
A framework for platform independent rendering
|
Structure for saving the OpenGL version. More...
#include <backend_gl.hpp>
Public Member Functions | |
| GLVersion () | |
| Default constructor. More... | |
| GLVersion (int major, int minor) | |
| Constructor for initializing major and minor version. More... | |
| bool | operator< (const GLVersion &other) |
| Overloaded less than operator. More... | |
| bool | operator<= (const GLVersion &other) |
| Overloaded less than or equal to operator. More... | |
| bool | operator== (const GLVersion &other) |
| Overloaded equal to operator. More... | |
| bool | operator!= (const GLVersion &other) |
| Overloaded unequal to operator. More... | |
| bool | operator>= (const GLVersion &other) |
| Overloaded greater than or equal to operator. More... | |
| bool | operator> (const GLVersion &other) |
| Overloaded greater than operator. More... | |
Public Attributes | |
| const int | major |
| Constant for the major version. More... | |
| const int | minor |
| Constant for the minor version. More... | |
Structure for saving the OpenGL version.
Definition at line 22 of file backend_gl.hpp.
| sgl::GLVersion::GLVersion | ( | ) |
Default constructor.
Definition at line 21 of file backend_gl.cpp.
| sgl::GLVersion::GLVersion | ( | int | major, |
| int | minor | ||
| ) |
Constructor for initializing major and minor version.
Definition at line 26 of file backend_gl.cpp.
| bool sgl::GLVersion::operator!= | ( | const GLVersion & | other | ) |
Overloaded unequal to operator.
| other | The other version. |
Definition at line 43 of file backend_gl.cpp.
| bool sgl::GLVersion::operator< | ( | const GLVersion & | other | ) |
Overloaded less than operator.
| other | The other version. |
Definition at line 31 of file backend_gl.cpp.
| bool sgl::GLVersion::operator<= | ( | const GLVersion & | other | ) |
Overloaded less than or equal to operator.
| other | The other version. |
Definition at line 35 of file backend_gl.cpp.
| bool sgl::GLVersion::operator== | ( | const GLVersion & | other | ) |
Overloaded equal to operator.
| other | The other version. |
Definition at line 39 of file backend_gl.cpp.
| bool sgl::GLVersion::operator> | ( | const GLVersion & | other | ) |
Overloaded greater than operator.
| other | The other version. |
Definition at line 51 of file backend_gl.cpp.
| bool sgl::GLVersion::operator>= | ( | const GLVersion & | other | ) |
Overloaded greater than or equal to operator.
| other | The other version. |
Definition at line 47 of file backend_gl.cpp.
| const int sgl::GLVersion::major |
Constant for the major version.
Definition at line 25 of file backend_gl.hpp.
| const int sgl::GLVersion::minor |
Constant for the minor version.
Definition at line 28 of file backend_gl.hpp.
1.8.11