Non-debug, compatibility context (this and the core attribute are mutually exclusive) ...
unsigned int minorVersion
Minor number of the context version to create.
Uint32 attributeFlags
The attribute flags to create the context with.
unsigned int depthBits
Bits of the depth buffer.
unsigned int stencilBits
Bits of the stencil buffer.
bool sRgbCapable
Whether the context framebuffer is sRGB capable.
unsigned int majorVersion
Major number of the context version to create.
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 antialiasingLevel
Level of antialiasing.
Attribute
Enumeration of the context attribute flags.