Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csPooledVertexArrayPool Class Reference

This is another implementation of csVertexArrayPool. More...

#include <vtpool.h>

Inheritance diagram for csPooledVertexArrayPool:

csVertexArrayPool List of all members.

Public Methods

 csPooledVertexArrayPool ()
 Allocate a vertex array pool.

virtual ~csPooledVertexArrayPool ()
 Destroy pool and all vertex arrays in it.

virtual csVector3GetVertexArray (int n)
 Fetch a new array of n vertices. Return NULL 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.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000