Structure defining the settings of the OpenGL context attached to a window.
unsigned int depthBits
Bits of the depth buffer.
unsigned int majorVersion
Major number of the context version to create.
std::uint32_t attributeFlags
The attribute flags to create the context with.
unsigned int antiAliasingLevel
Level of anti-aliasing.
unsigned int minorVersion
Minor number of the context version to create.
unsigned int stencilBits
Bits of the stencil buffer.
bool sRgbCapable
Whether the context framebuffer is sRGB capable.
Attribute
Enumeration of the context attribute flags.
@ Default
Non-debug, compatibility context (this and the core attribute are mutually exclusive)