OpenGL.wrapper

The wrapping code for providing natural ctypes-based OpenGL interface

Functions

Classes

class Wrapper( LateBind ):
Wrapper around a ctypes cFunction object providing SWIG-like hooks
Attributes:
wrappedOperation
base operation, normally a ctypes function with data-types and error-checking specified
pyConverters
converters for incoming Python arguments, provide 1:1 mapping to incoming Python arguments, can suppress an argument from the argument-set as well see setPyConverter
pyConverterNames
caching/storage of the argument names for the Python converters
cConverters
converters for incoming C-level arguments produce Python-level objects in 1:1 mapping to ctypes arguments from pyConverters results see setCConverter
cResolvers
converters turning Python-level objects into ctypes-compatible data-types see setCResolver
Generic Attributes:
{ARG1}_LOOKUP_{ARG2} -- lookup dictionaries to provide sizes for ARG1 output value from the value of ARG2, provided for documentation/reference {ARG1}_FROM_{ARG2} -- lookup functions to provide sizes for ARG1 output value from the value of ARG2, provided for documentation/reference