![]() |
Public API Reference |
#include <vbufmgr.h>
Inheritance diagram for iVertexBuffer:
Public Methods | |
virtual int | GetPriority () const=0 |
Get the priority. More... | |
virtual bool | IsLocked () const=0 |
Check if the buffer is locked. More... | |
virtual csVector3 * | GetVertices () const=0 |
Get the current array of vertices. More... | |
virtual csVector2 * | GetTexels () const=0 |
Get the current array of texels. More... | |
virtual csColor * | GetColors () const=0 |
Get the current array of colors. More... | |
virtual float * | GetUserArray (int index) const=0 |
Get all of the current user arrays. More... | |
virtual int | GetUserArrayComponentCount (int index) const=0 |
Get the number of components of one of the current user arrays. More... | |
virtual int | GetVertexCount () const=0 |
Get the number of vertices. More... | |
virtual const csBox3 & | GetBoundingBox () const=0 |
Get a bounding box for all the vertices. More... |
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.
Definition at line 56 of file vbufmgr.h.
|
Get a bounding box for all the vertices.
|
|
Get the current array of colors.
|
|
Get the priority.
|
|
Get the current array of texels.
|
|
Get all of the current user arrays.
|
|
Get the number of components of one of the current user arrays.
|
|
Get the number of vertices.
|
|
Get the current array of vertices.
|
|
Check if the buffer is locked.
|