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

Public Methods | |
| virtual | ~csVertexArrayPool () |
| Destroy pool and all vertex arrays in it. More... | |
| virtual csVector3 * | GetVertexArray (int n)=0 |
| Fetch a new array of n vertices. More... | |
| virtual void | FreeVertexArray (csVector3 *ar, int n)=0 |
| Free an array of n vertices. More... | |
Use this to obtain vertex arrays of some length. This is an abstract class.
Definition at line 34 of file vtpool.h.
|
|
Destroy pool and all vertex arrays in it.
|
|
||||||||||||
|
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. |
|
|
Fetch a new array of n vertices. Return 0 on failure. Implemented in csDefaultVertexArrayPool. |