#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. 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.
|
Free an array of n vertices. Implementations of FreeVertexArray() are guaranteed to check if 'ar' == NULL and do nothing in that case. Reimplemented in csDefaultVertexArrayPool, csStackedVertexArrayPool, and csPooledVertexArrayPool. |
|
Fetch a new array of n vertices. Return NULL on failure. Reimplemented in csDefaultVertexArrayPool, csStackedVertexArrayPool, and csPooledVertexArrayPool. |