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=2, unsigned int minor=0)
Default constructor.
unsigned int majorVersion
Major number of the context version to create.
unsigned int antialiasingLevel
Level of antialiasing.
unsigned int depthBits
Bits of the depth buffer.
unsigned int minorVersion
Minor number of the context version to create.
unsigned int stencilBits
Bits of the stencil buffer.