OpenGLContext.contextdefinition
Definition of a Context's visual parameters
Classes
class ContextDefinition(
Node
):
Node which defines required parameters for creating a visual context
Values of -1 generally indicate "choose the default", while
values > -1 will explicitly request the value be set.
accumulationBuffer
exposedField SFInt32 accumulationBuffer -1
alpha
exposedField SFBool alpha True
debugBBox
exposedField SFBool debugBBox False
debugSelection
exposedField SFBool debugSelection False
depthBuffer
exposedField SFInt32 depthBuffer -1
doubleBuffer
exposedField SFBool doubleBuffer True
multisampleBuffer
exposedField SFInt32 multisampleBuffer -1
multisampleSamples
exposedField SFInt32 multisampleSamples -1
profile
exposedField SFString profile compatibility
profileFile
exposedField SFString profileFile
rgb
exposedField SFBool rgb True
size
exposedField SFVec2f size (300, 300)
stencilBuffer
exposedField SFInt32 stencilBuffer 8
stereo
exposedField SFInt32 stereo -1
title
exposedField SFString title
version
exposedField SFVec2f version (0, 0)