vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::ParticleData Struct Reference

One billboard particle for the frame, flattened from the emitters. More...

#include <particle_data.h>

Public Attributes

glm::vec4 positionSize
 xyz = world position, w = world-space size.
glm::vec4 color
 Linear RGBA.
glm::vec4 params
 x = edge softness (0 hard .. 1 soft); yzw reserved.

Detailed Description

One billboard particle for the frame, flattened from the emitters.

Three vec4s so it uploads straight into a std430 SSBO indexed by instance. Size and colour are already evaluated from age.


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