#include <vbufmgr.h>
Inheritance diagram for iVertexBuffer:
Public Methods | |
virtual int | GetPriority () const=0 |
Get the priority. | |
virtual bool | IsLocked () const=0 |
Check if the buffer is locked. | |
virtual csVector3* | GetVertices () const=0 |
Get the current array of vertices. | |
virtual csVector2* | GetTexels () const=0 |
Get the current array of texels. | |
virtual csColor* | GetColors () const=0 |
Get the current array of colors. | |
virtual int | GetVertexCount () const=0 |
Get the number of vertices. |
Using the vertex buffer manager (see below) you can create objects that implement this interface. These objects are managed by the respective 3D renderer that provided the vertex buffer manager and are supposed to store the vertices in the most efficient way possible.