CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iVertexBuffer Struct Reference
[3D]

@@OR@@ This interface represents a black-box vertex buffer. More...

#include <vbufmgr.h>

Inheritance diagram for iVertexBuffer:

iBase List of all members.

Public Methods

virtual int GetPriority () const=0
 Get the priority.

virtual bool IsLocked () const=0
 Check if the buffer is locked.

virtual csVector3GetVertices () const=0
 Get the current array of vertices.

virtual csVector2GetTexels () const=0
 Get the current array of texels.

virtual csColorGetColors () const=0
 Get the current array of colors.

virtual float * GetUserArray (int index) const=0
 Get all of the current user arrays.

virtual int GetUserArrayComponentCount (int index) const=0
 Get the number of components of one of the current user arrays.

virtual int GetVertexCount () const=0
 Get the number of vertices.

virtual const csBox3GetBoundingBox () const=0
 Get a bounding box for all the vertices.


Detailed Description

@@OR@@ This interface represents a black-box vertex buffer.

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 54 of file vbufmgr.h.


Member Function Documentation

virtual const csBox3& iVertexBuffer::GetBoundingBox   [pure virtual]
 

Get a bounding box for all the vertices.

virtual csColor* iVertexBuffer::GetColors   [pure virtual]
 

Get the current array of colors.

virtual int iVertexBuffer::GetPriority   [pure virtual]
 

Get the priority.

virtual csVector2* iVertexBuffer::GetTexels   [pure virtual]
 

Get the current array of texels.

virtual float* iVertexBuffer::GetUserArray int    index const [pure virtual]
 

Get all of the current user arrays.

virtual int iVertexBuffer::GetUserArrayComponentCount int    index const [pure virtual]
 

Get the number of components of one of the current user arrays.

virtual int iVertexBuffer::GetVertexCount   [pure virtual]
 

Get the number of vertices.

virtual csVector3* iVertexBuffer::GetVertices   [pure virtual]
 

Get the current array of vertices.

virtual bool iVertexBuffer::IsLocked   [pure virtual]
 

Check if the buffer is locked.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18