OpenGL.GLU.glustruct

Base class for GLU callback-caching structures

Classes

class GLUStruct( object ):
Mix-in class for GLU Structures that want to retain references to callbacks
Also provides original-object-return for the "datapointer" style paremters
Each sub-class must override: CALLBACK_TYPES -- maps a "which" constant to a function type CALLBACK_FUNCTION_REGISTRARS -- maps a "which" constant to the registration function for functions of that type WRAPPER_METHODS -- maps a "which" consant to a method of the structure that produces a callable around the function which takes care of input/output arguments, data conversions, error handling and the like. Creates a dictionary member dataPointers if original-object-return is used Creates a dictionary member callbacks if callback registration is used
_as_parameter_
Gets as a ctypes pointer to the underlying structure