A ctypes implementation of a vertex array.
Many of the methods on this class are effectively no-op’s, such as bind, unbind, map, unmap and delete; they exist in order to present a consistent interface with VertexBufferObject.
This buffer type is also mappable, and so get_region can be used.
Constructor:
Methods:
bind() delete() get_region(start, size, ptr_type) map([invalidate]) resize(size) set_data(data) set_data_region(data, start, length) unbind() unmap()
Attributes:
ptr Type: int size Type: int
Attributes
- VertexArray.ptr = 0
- VertexArray.size = 0