Class CPUParticlesComponent¶
Defined in File cpu_particles_component.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public ModelComponent(Class ModelComponent)
Class Documentation¶
-
class
CPUParticlesComponent: public ModelComponent¶ Creates particle systems on the CPU. Not preferred over ParticleEffectComponent.
Public Functions
-
~CPUParticlesComponent()¶
-
void
setMaterial(Ref<InstancingBasicMaterialResourceFile> particlesMaterial)¶
-
void
emit(const ParticleTemplate &particleTemplate)¶
-
void
expandPool(const size_t &poolSize)¶
-
bool
preRender(float deltaMilliseconds)¶
-
void
render(float viewDistance)¶
-
JSON::json
getJSON() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw()¶ Expose the component data with ImGui.
-