file
Version.hEnum Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::GL
- OpenGL wrapping layer.
Enums
- enum class Version: Int { None = 0xFFFF, GL210 = 210, GL300 = 300, GL310 = 310, GL320 = 320, GL330 = 330, GL400 = 400, GL410 = 410, GL420 = 420, GL430 = 430, GL440 = 440, GL450 = 450, GL460 = 460, GLES200 = Implementation::VersionESMask|200, GLES300 = Implementation::VersionESMask|300, GLES310 = Implementation::VersionESMask|310, GLES320 = Implementation::VersionESMask|320 }
- OpenGL version.
Functions
- auto version(Int major, Int minor) -> Version constexpr
- Enum value from major and minor version number.
- auto version(Version version) -> Containers::Pair<Int, Int>
- Major and minor version number from enum value.
- auto isVersionES(Version version) -> bool constexpr
- Whether given version is OpenGL ES or WebGL.
- auto operator<<(Debug& debug, Version value) -> Debug&
- Debug output operator.