Previous: OpenGL.acceleratesupport OpenGL. constant Next: OpenGL.constants

OpenGL. constant

Implementation of OpenGL constant objects

Classes

class Constant( object ):
OpenGL constant that displays itself as a name rather than a value
The purpose of this class is to make debugging OpenGL code easier, as you recieve messages that say what value you passed in in a human-readable form, rather than as a bald number that requires lookup and disambiguation in the header file.
Previous: OpenGL.acceleratesupport OpenGL. constant Next: OpenGL.constants