A VBO with system-memory backed store.
Updates to the data via set_data, set_data_region and map will be held in local memory until bind is called. The advantage is that fewer OpenGL calls are needed, increasing performance.
There may also be less performance penalty for resizing this buffer.
Updates to data via map are committed immediately.
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
Methods
- MappableVertexBufferObject.delete()
- MappableVertexBufferObject.unbind()
Attributes
- MappableVertexBufferObject.ptr = 0
- MappableVertexBufferObject.size = 0