ParticlePoolclass handles storage for particles in a particle system.
template <class type = Particle> class ParticlePool : public ParticlePoolBase
||Returns an unused particle from a particle pool.|
||The structure containing the state data for each particle. This must be |
ParticlePool(int32 count, type *pool);
||The total number of particles in the pool.|
||A pointer to an array of structures that hold the particle state data. This must point to an array of |
ParticlePoolclass encapsulates an array of particle structures that are used with a single particle system. These structures hold the current state of all the particles in a particle system. A pointer to a particle pool is passed to the constructors of the various particle system subclasses.
||Used internally to encapsulate common functionality that is independent of the template parameter.|