csVertexArrayPool Class Reference
[Geometry utilities]
This is a generalized vertex array pool.
More...
#include <vtpool.h>
Inheritance diagram for csVertexArrayPool:

Public Methods | |
virtual | ~csVertexArrayPool () |
Destroy pool and all vertex arrays in it. | |
virtual csVector3 * | GetVertexArray (int n)=0 |
Fetch a new array of n vertices. | |
virtual void | FreeVertexArray (csVector3 *ar, int n)=0 |
Free an array of n vertices. |
Detailed Description
This is a generalized vertex array pool.Use this to obtain vertex arrays of some length. This is an abstract class.
Definition at line 34 of file vtpool.h.
Constructor & Destructor Documentation
|
Destroy pool and all vertex arrays in it.
|
Member Function Documentation
|
Free an array of n vertices. Implementations of FreeVertexArray() are guaranteed to check if 'ar' == 0 and do nothing in that case. Implemented in csDefaultVertexArrayPool, csStackedVertexArrayPool, and csPooledVertexArrayPool. |
|
Fetch a new array of n vertices. Return 0 on failure. Implemented in csDefaultVertexArrayPool, csStackedVertexArrayPool, and csPooledVertexArrayPool. |
The documentation for this class was generated from the following file:
- csgeom/vtpool.h
Generated for Crystal Space by doxygen 1.2.18