![]() |
Public API Reference |
#include <vtpool.h>
Inheritance diagram for csPooledVertexArrayPool:

Public Methods | |
| csPooledVertexArrayPool () | |
| Allocate a vertex array pool. More... | |
| virtual | ~csPooledVertexArrayPool () |
| Destroy pool and all vertex arrays in it. More... | |
| virtual csVector3 * | GetVertexArray (int n) |
| Fetch a new array of n vertices. Return 0 on failure. More... | |
| virtual void | FreeVertexArray (csVector3 *ar, int n) |
| Free an array of n vertices. More... | |
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.
|
|
Allocate a vertex array pool.
|
|
|
Destroy pool and all vertex arrays in it.
|
|
||||||||||||
|
Free an array of n vertices.
Implements csVertexArrayPool. |
|
|
Fetch a new array of n vertices. Return 0 on failure.
Implements csVertexArrayPool. |