OpenGL.arrays.arrayhelpers

Helper functions for wrapping array-using operations
These are functions intended to be used in wrapping GL functions that deal with OpenGL array data-types.

Functions

Classes

Given arrayName and typeName coerce arrayName to array of type typeName
TODO: It should be possible to drop this if ERROR_ON_COPY, as array inputs always have to be the final objects in that case.
Given arrayName and arrayType, convert arrayName to array of type
TODO: It should be possible to drop this if ERROR_ON_COPY, as array inputs always have to be the final objects in that case.
Store named pointer value in context indexed by constant
pointerName
named pointer argument
constant
constant used to index in the context storage
Note: OpenGL.STORE_POINTERS can be set with ERROR_ON_COPY to ignore this storage operation.
Stores the pyArgs (i.e. result of pyConverters) for the named pointer argument...