csPooledVertexArrayPool Class Reference
[Geometry utilities]
This is another implementation of csVertexArrayPool.
More...
#include <vtpool.h>
Inheritance diagram for csPooledVertexArrayPool:

Public Methods | |
csPooledVertexArrayPool () | |
Allocate a vertex array pool. | |
virtual | ~csPooledVertexArrayPool () |
Destroy pool and all vertex arrays in it. | |
virtual csVector3 * | GetVertexArray (int n) |
Fetch a new array of n vertices. Return 0 on failure. | |
virtual void | FreeVertexArray (csVector3 *ar, int n) |
Free an array of n vertices. |
Detailed Description
This is another implementation of csVertexArrayPool.This one takes vertices from a big pool. It allows random allocation and free of arrays but it less efficient than csStackedVertexArrayPool.
Definition at line 135 of file vtpool.h.
Constructor & Destructor Documentation
|
Allocate a vertex array pool.
|
|
Destroy pool and all vertex arrays in it.
|
Member Function Documentation
|
Free an array of n vertices.
Implements csVertexArrayPool. |
|
Fetch a new array of n vertices. Return 0 on failure.
Implements csVertexArrayPool. |
The documentation for this class was generated from the following file:
- csgeom/vtpool.h
Generated for Crystal Space by doxygen 1.2.18