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

Animated textured sprite used by the fresh explosion VFX path. More...

#include <ParticleTypes.hpp>

Public Attributes

glm::vec3 pos
float size
glm::vec3 vel
float rotation
glm::vec4 color
glm::vec4 age
 x=age, y=maxLifetime, z=growthRate, w=spinRate.
glm::vec4 anim
 x=startFrame, y=frameCount, z=fps, w=material mode.
glm::vec4 shape
 x=stretch, y=seed, z=softness, w=priority.

Detailed Description

Animated textured sprite used by the fresh explosion VFX path.

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

Member Data Documentation

◆ age

glm::vec4 VfxSpriteParticle::age

x=age, y=maxLifetime, z=growthRate, w=spinRate.

◆ anim

glm::vec4 VfxSpriteParticle::anim

x=startFrame, y=frameCount, z=fps, w=material mode.

◆ color

glm::vec4 VfxSpriteParticle::color

◆ pos

glm::vec3 VfxSpriteParticle::pos

◆ rotation

float VfxSpriteParticle::rotation

◆ shape

glm::vec4 VfxSpriteParticle::shape

x=stretch, y=seed, z=softness, w=priority.

◆ size

float VfxSpriteParticle::size

◆ vel

glm::vec3 VfxSpriteParticle::vel

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