Lightweight representation of an OpenGL VBO.
The data in the buffer is not replicated in any system memory (unless it is done so by the video driver). While this can improve memory usage and possibly performance, updates to the buffer are relatively slow.
This class does not implement AbstractMappable, and so has no get_region method. See MappableVertexBufferObject for a VBO class that does implement get_region.
Constructor:
Methods:
Attributes:
ptr Type: int size Type: int
Attributes
- VertexBufferObject.ptr = 0
- VertexBufferObject.size = 0