YourGameLib
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
yourgame::gl::Particles Class Reference

#include <particles.h>

Inheritance diagram for yourgame::gl::Particles:
Inheritance graph
[legend]
Collaboration diagram for yourgame::gl::Particles:
Collaboration graph
[legend]

Public Member Functions

 ~Particles ()
 
void tick (float dt) override
 ticks the particle system
 
yourgame::gl::Geometrygeo ()
 
GLsizei numParticles ()
 
- Public Member Functions inherited from yourgame::math::Particles
 Particles (const Config cfg)
 
void reset ()
 

Static Public Member Functions

static Particlesmake (const Config cfg, yourgame::gl::Geometry *geo)
 

Additional Inherited Members

- Public Attributes inherited from yourgame::math::Particles
Config m_cfg
 
std::vector< glm::vec4 > m_positionData
 
std::vector< float > m_progressData
 

Constructor & Destructor Documentation

◆ ~Particles()

yourgame::gl::Particles::~Particles ( )

Member Function Documentation

◆ geo()

yourgame::gl::Geometry * yourgame::gl::Particles::geo ( )

◆ make()

Particles * yourgame::gl::Particles::make ( const Config  cfg,
yourgame::gl::Geometry geo 
)
static

◆ numParticles()

GLsizei yourgame::gl::Particles::numParticles ( )

◆ tick()

void yourgame::gl::Particles::tick ( float  dt)
overridevirtual

ticks the particle system

Parameters
dttime delta

Reimplemented from yourgame::math::Particles.


The documentation for this class was generated from the following files: