group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
VfxDebrisParticle Struct Reference

Tiny shard/spark particle used by explosion debris and embers. More...

#include <ParticleTypes.hpp>

Public Attributes

glm::vec3 pos
float size
glm::vec3 vel
float stretch
glm::vec4 color
glm::vec4 sim
 x=age, y=maxLifetime, z=gravity, w=drag.

Detailed Description

Tiny shard/spark particle used by explosion debris and embers.

The shader reads this as 16 floats from a storage buffer.

Member Data Documentation

◆ color

glm::vec4 VfxDebrisParticle::color

◆ pos

glm::vec3 VfxDebrisParticle::pos

◆ sim

glm::vec4 VfxDebrisParticle::sim

x=age, y=maxLifetime, z=gravity, w=drag.

◆ size

float VfxDebrisParticle::size

◆ stretch

float VfxDebrisParticle::stretch

◆ vel

glm::vec3 VfxDebrisParticle::vel

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