AnimatedParticleDrawPolicy Class Reference

A draw policy for drawing particles of type AnimatedParticle. More...

#include <Graphics/ParticleSystem.h>

List of all members.

Public Member Functions

 AnimatedParticleDrawPolicy ()
 Default constructor.
void Init (uint maxParticles)
 Called one at initialization.
void Draw (const std::vector< size_t > &active, const std::vector< AnimatedParticle > &particleStore)
 Draws the active set of particles.

Detailed Description

A draw policy for drawing particles of type AnimatedParticle.


Member Function Documentation

void AnimatedParticleDrawPolicy::Draw ( const std::vector< size_t > &  active,
const std::vector< AnimatedParticle > &  particleStore 
)

Draws the active set of particles.

Parameters:
[in] active a vector of indices into the particleStore of the particles to draw.
[in] particleStore a vector holding all of the particles (active and dead).
void AnimatedParticleDrawPolicy::Init ( uint  maxParticles  ) 

Called one at initialization.

Parameters:
[in] maxParticles the maximum number of particles that will ever be drawn at a time.

The documentation for this class was generated from the following files:
Generated on Mon Apr 5 19:08:05 2010 for BrickOut |ReDuX| by  doxygen 1.6.3