OpenGL.arrays.buffers
Test for a buffer-protocol-based access mechanism
Will *only* work for Python 2.6+, and pretty much just works for strings
under 2.6 (in terms of the common object types).
Classes
class BufferHandler(
FormatHandler
):
Buffer-protocol data-type handler for OpenGL
arrayByteCount(
cls
,
value
,
typeCode
= None
)
Given a data-value, calculate number of bytes required to represent
arraySize(
cls
,
value
,
typeCode
= None
)
Given a data-value, calculate ravelled size for the array