Class ParticleSystemCache

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 ParticleSystemHandle createParticleSystem(std::string name, Args&&... args)

Creates a particle system and returns it.

Template Parameters
  • T: A particle system that inherits from ParticleSystembase.

  • 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.

  • name: The name of the wanted particle system.