Class ParticleSystemCache¶
Defined in File particle_system_cache.hpp
Class Documentation¶
-
class
legion::rendering
::
ParticleSystemCache
¶ The cache class the holds all the particle systems.
Public Static Functions
-
template<class
T
, class ...Args
>
static inline ParticleSystemHandlecreateParticleSystem
(std::string name, Args&&... args)¶ Creates a particle system and returns it.
- Template Parameters
T
: A particle system that inherits from ParticleSystembase.
- Parameters
name
: The name of the particle system. @params args Additionally forwarded arguments for the creation of the particle system.
-
static inline ParticleSystemHandle
getParticleSystem
(std::string name)¶ Gets the particle system with the given name.
- Parameters
name
: The name of the wanted particle system.
-
template<class