Uint32 attributeFlags
The attribute flags to create the context with.
bool sRgbCapable
Whether the context framebuffer is sRGB capable.
Attribute
Enumeration of the context attribute flags.
Non-debug, compatibility context (this and the core attribute are mutually exclusive) ...
unsigned int depthBits
Bits of the depth buffer.
Structure defining the settings of the OpenGL context attached to a window.
ContextSettings(unsigned int depth=0, unsigned int stencil=0, unsigned int antialiasing=0, unsigned int major=1, unsigned int minor=1, unsigned int attributes=Default, bool sRgb=false)
Default constructor.
unsigned int majorVersion
Major number of the context version to create.
unsigned int antialiasingLevel
Level of antialiasing.
unsigned int stencilBits
Bits of the stencil buffer.
unsigned int minorVersion
Minor number of the context version to create.