CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csDefaultVertexArrayPool Class Reference
[Geometry utilities]

This is a default implementation of csVertexArrayPool. More...

#include <vtpool.h>

Inheritance diagram for csDefaultVertexArrayPool:

csVertexArrayPool List of all members.

Public Methods

virtual csVector3GetVertexArray (int n)
 Fetch a new array of n vertices.

virtual void FreeVertexArray (csVector3 *ar, int)
 Free an array of n vertices.


Detailed Description

This is a default implementation of csVertexArrayPool.

This implementation is rather trival. It will just do 'new' and 'delete' to get the vertex arrays.

Definition at line 58 of file vtpool.h.


Member Function Documentation

virtual void csDefaultVertexArrayPool::FreeVertexArray csVector3   ar,
int   
[inline, virtual]
 

Free an array of n vertices.

Implements csVertexArrayPool.

Definition at line 73 of file vtpool.h.

virtual csVector3* csDefaultVertexArrayPool::GetVertexArray int    n [inline, virtual]
 

Fetch a new array of n vertices.

Return 0 on failure.

Implements csVertexArrayPool.

Definition at line 67 of file vtpool.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18