Magnum/GL/Version.h file

Enum Magnum::GL::Version, function Magnum::GL::version(), Magnum::GL::isVersionES()

Contents

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.

Typedefs

using Version = Magnum::GL::Version deprecated
OpenGL version.

Functions

auto version(Int major, Int minor) -> Version constexpr
Enum value from major and minor version number.
auto version(Version version) -> std::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.
auto version(Int major, Int minor) -> GL::Version deprecated constexpr
Enum value from major and minor version number.
auto version(GL::Version version) -> std::pair<Int, Int> deprecated
Major and minor version number from enum value.
auto isVersionES(GL::Version version) -> bool deprecated constexpr
Whether given version is OpenGL ES or WebGL.