Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
game::state::evo::GpuSpark Struct Reference

GPU particle payload for the evolution sparks particle system. More...

#include <Particles.hpp>

Public Member Functions

 GpuSpark ()=default
 
GpuSparkoperator= (const Evolution::Spark &spark)
 

Public Attributes

glm::vec2 pos
 
float radius
 
float alpha
 

Detailed Description

GPU particle payload for the evolution sparks particle system.

Definition at line 20 of file Particles.hpp.

Constructor & Destructor Documentation

◆ GpuSpark()

game::state::evo::GpuSpark::GpuSpark ( )
default

Member Function Documentation

◆ operator=()

GpuSpark& game::state::evo::GpuSpark::operator= ( const Evolution::Spark spark)
inline

Definition at line 27 of file Particles.hpp.

Member Data Documentation

◆ alpha

float game::state::evo::GpuSpark::alpha

Definition at line 23 of file Particles.hpp.

◆ pos

glm::vec2 game::state::evo::GpuSpark::pos

Definition at line 21 of file Particles.hpp.

◆ radius

float game::state::evo::GpuSpark::radius

Definition at line 22 of file Particles.hpp.


The documentation for this struct was generated from the following file: