Implementation of OpenGL constant objects


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.
Integer constant
Long integer constant