OpenGL.arrays | index /home/mcfletch/pylive/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 _numeric -- Run-time calculation of offset into Python Numeric (old) structures _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 arrayinterface buffers -- Python 2.6+ buffer-object interface... ctypesarrays -- ctypes sized data-arrays as a data-formatmechanism ctypesparameters -- ctypes single-value "parameter" arguments (e.g. byref) 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 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 vbo -- VertexBufferObject helper class |
Data | ||
ArrayDatatype = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b73c0> GL_CONSTANT_TO_ARRAY_TYPE = {GL_BYTE: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7550>, GL_UNSIGNED_BYTE: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7690>, GL_SHORT: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b75f0>, GL_UNSIGNED_SHORT: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b76e0>, GL_INT: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7640>, GL_UNSIGNED_INT: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7730>, GL_FLOAT: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7500>, GL_DOUBLE: <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b74b0>} GLbooleanArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7690> GLbyteArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7550> GLcharARBArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b75a0> GLcharArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b75a0> GLclampdArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7410> GLclampfArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7460> GLdoubleArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b74b0> GLenumArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7820> GLfloatArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7500> GLint64Array = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7780> GLintArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7640> GLshortArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b75f0> GLsizeiArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7870> GLubyteArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7690> GLuint64Array = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b77d0> GLuintArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b7730> GLushortArray = <OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x21b76e0> __file__ = '/home/mcfletch/pylive/OpenGL/arrays/__init__.pyc' __name__ = 'OpenGL.arrays' __package__ = 'OpenGL.arrays' __path__ = ['/home/mcfletch/pylive/OpenGL/arrays'] log = <logging.Logger instance at 0x21c9320> returnPointer = returnPyArgumentIndex( 0L ) |