ParticleSystem

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addEmitter
void addEmitter(Emitter em)
Undocumented in source. Be warned that the author may not have intended to support it.
addForceField
void addForceField(ForceField ff)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
renderBillboardParticle
void renderBillboardParticle(Emitter e, Particle p, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
renderEntityParticle
void renderEntityParticle(Emitter e, Particle p, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
updateParticle
void updateParticle(Emitter e, Particle p, double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

eao
GLuint eao;
Undocumented in source.
emitters
DynamicArray!Emitter emitters;
Undocumented in source.
forceFields
DynamicArray!ForceField forceFields;
Undocumented in source.
haveParticlesToDraw
bool haveParticlesToDraw;
Undocumented in source.
indices
uint[3][2] indices;
Undocumented in source.
invViewMatRot
Matrix4x4f invViewMatRot;
Undocumented in source.
tbo
GLuint tbo;
Undocumented in source.
texcoords
Vector2f[4] texcoords;
Undocumented in source.
useMotionBlur
bool useMotionBlur;
Undocumented in source.
vao
GLuint vao;
Undocumented in source.
vbo
GLuint vbo;
Undocumented in source.
vertices
Vector3f[4] vertices;
Undocumented in source.

Meta