#include <vtpool.h>
Inheritance diagram for csDefaultVertexArrayPool:
Public Methods | |
csDefaultVertexArrayPool () | |
virtual csVector3* | GetVertexArray (int n) |
Fetch a new array of n vertices. More... | |
virtual void | FreeVertexArray (csVector3 *ar, int) |
Free an array of n vertices. | |
Static Public Methods | |
csDefaultVertexArrayPool& | GetDefaultPool () |
Fetch the singleton instance of this pool. |
This implementation is rather trival. It will just do 'new' and 'delete' to get the vertex arrays.
|
Fetch a new array of n vertices. Return NULL on failure. Reimplemented from csVertexArrayPool. |