|
Zen 0.3.0
|
Public Member Functions | |
| ParticleSystem (size_t maxParticles=1000) | |
| void | emit (const ParticleProps &props) |
| void | update (DeltaTime deltaTime) |
| void | upload () |
| void | clear () |
| const std::shared_ptr< VertexArray > & | vao () const |
| std::shared_ptr< Shader > & | shader () |
| size_t | capacity () const |
| void | updateEmitter (ParticleEmitter &emitter, DeltaTime deltaTime) |
| void | updateEmitters (std::vector< ParticleEmitter > &emitters, DeltaTime deltaTime) |
Definition at line 79 of file ZEN_ParticleSystem.h.
|
explicit |
Definition at line 6 of file ZEN_ParticleSystem.cpp.
|
inline |
Definition at line 93 of file ZEN_ParticleSystem.h.
| void Zen::ParticleSystem::clear | ( | ) |
Definition at line 105 of file ZEN_ParticleSystem.cpp.
| void Zen::ParticleSystem::emit | ( | const ParticleProps & | props | ) |
Definition at line 51 of file ZEN_ParticleSystem.cpp.
|
inline |
Definition at line 91 of file ZEN_ParticleSystem.h.
| void Zen::ParticleSystem::update | ( | DeltaTime | deltaTime | ) |
Definition at line 66 of file ZEN_ParticleSystem.cpp.
| void Zen::ParticleSystem::updateEmitter | ( | ParticleEmitter & | emitter, |
| DeltaTime | deltaTime ) |
Definition at line 112 of file ZEN_ParticleSystem.cpp.
| void Zen::ParticleSystem::updateEmitters | ( | std::vector< ParticleEmitter > & | emitters, |
| DeltaTime | deltaTime ) |
Definition at line 128 of file ZEN_ParticleSystem.cpp.
| void Zen::ParticleSystem::upload | ( | ) |
Definition at line 98 of file ZEN_ParticleSystem.cpp.
|
inline |
Definition at line 90 of file ZEN_ParticleSystem.h.