class
GLConfigurationOpenGL context configuration.
Contents
- Reference
Double-buffered OpenGL context.
Public functions
-
auto version() const -> GL::
Version - Context version.
-
auto setVersion(GL::
Version version) -> GLConfiguration& - Set context version.
Function documentation
GL:: Version Magnum:: Platform:: AbstractXApplication:: GLConfiguration:: version() const
Context version.
GLConfiguration& Magnum:: Platform:: AbstractXApplication:: GLConfiguration:: setVersion(GL:: Version version)
Set context version.
If requesting version greater or equal to OpenGL 3.1, core profile is used. The created context will then have any version which is backwards-compatible with requested one. Default is GL::