Particle Universe
1.2
|
#include <ParticleUniverseParticlePool.h>
Protected Member Functions | |
void | _increaseVisualParticlePool (size_t size, Particle::ParticleBehaviourList &behaviours) |
void | _increaseParticleEmitterPool (size_t size, Particle::ParticleBehaviourList &behaviours, ParticleTechnique *technique) |
void | _increaseParticleAffectorPool (size_t size, Particle::ParticleBehaviourList &behaviours, ParticleTechnique *technique) |
void | _increaseParticleTechniquePool (size_t size, Particle::ParticleBehaviourList &behaviours, ParticleSystem *system) |
void | _increaseParticleSystemPool (size_t size, Particle::ParticleBehaviourList &behaviours, ParticleTechnique *technique) |
The ParticlePool is a container class that includes other pools. The ParticlePool acts as one pool with different types of particles.
|
inline |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Protected methods to increase the pools
void ParticleUniverse::ParticlePool::destroyAllAffectorParticles | ( | void | ) |
void ParticleUniverse::ParticlePool::destroyAllEmitterParticles | ( | void | ) |
void ParticleUniverse::ParticlePool::destroyAllSystemParticles | ( | void | ) |
void ParticleUniverse::ParticlePool::destroyAllTechniqueParticles | ( | void | ) |
void ParticleUniverse::ParticlePool::destroyAllVisualParticles | ( | void | ) |
void ParticleUniverse::ParticlePool::destroyParticles | ( | const Particle::ParticleType | particleType | ) |
Destroy particles of a certain type
bool ParticleUniverse::ParticlePool::end | ( | void | ) |
bool ParticleUniverse::ParticlePool::end | ( | const Particle::ParticleType | particleType | ) |
Particle* ParticleUniverse::ParticlePool::getFirst | ( | void | ) |
Particle* ParticleUniverse::ParticlePool::getFirst | ( | const Particle::ParticleType | particleType | ) |
Particle* ParticleUniverse::ParticlePool::getNext | ( | void | ) |
Particle* ParticleUniverse::ParticlePool::getNext | ( | const Particle::ParticleType | particleType | ) |
size_t ParticleUniverse::ParticlePool::getSize | ( | void | ) |
size_t ParticleUniverse::ParticlePool::getSize | ( | const Particle::ParticleType | particleType | ) |
|
inline |
void ParticleUniverse::ParticlePool::increasePool | ( | const Particle::ParticleType | particleType, |
size_t | size, | ||
Particle::ParticleBehaviourList & | behaviours, | ||
ParticleTechnique * | technique | ||
) |
void ParticleUniverse::ParticlePool::initialisePool | ( | void | ) |
bool ParticleUniverse::ParticlePool::isEmpty | ( | void | ) |
bool ParticleUniverse::ParticlePool::isEmpty | ( | const Particle::ParticleType | particleType | ) |
void ParticleUniverse::ParticlePool::lockAllParticles | ( | void | ) |
Lock all particles in the pool
void ParticleUniverse::ParticlePool::lockLatestParticle | ( | void | ) |
void ParticleUniverse::ParticlePool::releaseAllParticles | ( | void | ) |
Releases all particles from the pool
Particle* ParticleUniverse::ParticlePool::releaseParticle | ( | const Particle::ParticleType | particleType, |
const String & | name | ||
) |
Releases a particle from the pool
void ParticleUniverse::ParticlePool::resetIterator | ( | void | ) |
void ParticleUniverse::ParticlePool::setParentTechnique | ( | ParticleTechnique * | parentTechnique | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Vectors used for deletion of created objects
|
protected |
The Pools