Structure defining the settings of the OpenGL context attached to a window.
Definition ContextSettings.hpp:39
unsigned int depthBits
Bits of the depth buffer.
Definition ContextSettings.hpp:55
unsigned int majorVersion
Major number of the context version to create.
Definition ContextSettings.hpp:58
std::uint32_t attributeFlags
The attribute flags to create the context with.
Definition ContextSettings.hpp:60
unsigned int minorVersion
Minor number of the context version to create.
Definition ContextSettings.hpp:59
unsigned int stencilBits
Bits of the stencil buffer.
Definition ContextSettings.hpp:56
unsigned int antialiasingLevel
Level of antialiasing.
Definition ContextSettings.hpp:57
bool sRgbCapable
Whether the context framebuffer is sRGB capable.
Definition ContextSettings.hpp:61
Attribute
Enumeration of the context attribute flags.
Definition ContextSettings.hpp:45
@ Debug
Debug attribute.
Definition ContextSettings.hpp:48
@ Default
Non-debug, compatibility context (this and the core attribute are mutually exclusive).
Definition ContextSettings.hpp:46
@ Core
Core attribute.
Definition ContextSettings.hpp:47