Byte abstractions of Vertex Buffer Objects and vertex arrays.
Use create_buffer or create_mappable_buffer to create a Vertex Buffer Object, or a vertex array if VBOs are not supported by the current context.
Buffers can optionally be created “mappable” (incorporating the AbstractMappable mix-in). In this case the buffer provides a get_region method which provides the most efficient path for updating partial data within the buffer.
AbstractBuffer | Abstract buffer of byte data. |
AbstractBufferRegion | A mapped region of a buffer. |
AbstractMappable | |
IndirectArrayRegion | A mapped region in which data elements are not necessarily contiguous. |
MappableVertexBufferObject | A VBO with system-memory backed store. |
VertexArray | A ctypes implementation of a vertex array. |
VertexArrayRegion | A mapped region of a vertex array. |
VertexBufferObject | Lightweight representation of an OpenGL VBO. |
VertexBufferObjectRegion | A mapped region of a VBO. |
create_buffer(size[, target, usage, vbo]) | Create a buffer of vertex data. |
create_mappable_buffer(size[, target, ...]) | Create a mappable buffer of vertex data. |
str(object=’‘) -> string
Return a nice string representation of the object. If the argument is a string, the return value is the same object.
Defined