Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

ParticleAllocatorCallback Class Reference

#include <particle.h>

List of all members.


Detailed Description

Callback class for particle generation Will be called by generator for allocating particles.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

virtual void AllocateParticles (unsigned int uiNumParticles, Particle **ppkParticles)=0


Member Function Documentation

virtual void AllocateParticles unsigned int  uiNumParticles,
Particle **  ppkParticles
[pure virtual]
 

Implement this to handle new particle allocation and initialization. If a pointer in the array is not null, no new particle should be allocated but the particle pointed to should be re-initialized. For null pointer elements, allocate and initialize new particle

Parameters:
uiNumParticles Number of particles to allocate
ppkParticles Pointer to array of pointers receiving new pointers to new particles


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:12 2004 for NeoEngine by doxygen 1.3.5