OpenGL.arrays | index /var/pylive/src/OpenGL-dev/OpenGL-ctypes/OpenGL/arrays/__init__.py

`Abstraction point for handling of data-pointers in OpenGL
The purpose of this package is to allow for the registration and dispatch
of handlers for different data-types in such a way that you can add new
data-types to the set of types which PyOpenGL will handle as arguments
to functions requiring typed pointers.
Possible data types:
Numpy arrays
Numarray arrays
PyGame surfaces
PyMedia buffers
Python buffer-objects
Memory-mapped files
PIL images`

Package Contents
`` |  | __init__ -- Abstraction point for handling of data-pointers in OpenGL _numericdatapointer -- Run-time calculation of offset into Python string structure _strings -- Run-time calculation of offset into Python string structure arraydatatype -- Array data-type implementations (abstraction points for GL array types arrayhelpers -- Helper functions for wrapping array-using operations ctypesarrays -- ctypes sized data-arrays as a data-formatmechanism ctypespointers -- ctypes data-pointers as a data-format mechanism formathandler -- Base class for the various Python data-format storage type APIs lists -- Lists/tuples as data-format for storage nones -- Passing of None as an array data-type numarrays numbers -- Numbers passed as array handling code for PyOpenGL numeric numericnames -- Module to provide numeric-module name for current version numpymodule -- Numpy (new version) module implementation of the OpenGL-ctypes array interfaces strings -- String-array-handling code for PyOpenGL

Data
`` |  | GL_CONSTANT_TO_ARRAY_TYPE = {GL_BYTE: <class 'OpenGL.arrays.arraydatatype.GLbyteArray'>, GL_UNSIGNED_BYTE: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'>, GL_SHORT: <class 'OpenGL.arrays.arraydatatype.GLshortArray'>, GL_UNSIGNED_SHORT: <class 'OpenGL.arrays.arraydatatype.GLushortArray'>, GL_INT: <class 'OpenGL.arrays.arraydatatype.GLintArray'>, GL_UNSIGNED_INT: <class 'OpenGL.arrays.arraydatatype.GLenumArray'>, GL_FLOAT: <class 'OpenGL.arrays.arraydatatype.GLfloatArray'>, GL_DOUBLE: <class 'OpenGL.arrays.arraydatatype.GLdoubleArray'>} __path__ = ['/var/pylive/src/OpenGL-dev/OpenGL-ctypes/OpenGL/arrays']