Structure passed to the GPU containing per-particle rendering data. More...
#include <ParticleEmitterComponent.hpp>
Public Attributes | |
| glm::vec4 | position |
| Particle position (xyz) and unused (w). | |
| float | scaleX |
| Particle horizontal scale. | |
| float | scaleY |
| Particle vertical scale. | |
| uint32_t | textureID |
| Bindless texture index. | |
| uint32_t | isUnlit |
| Flag determining if the particle is unlit (1) or affected by lighting (0). | |
| glm::vec4 | color |
| Particle color (rgba). | |
Structure passed to the GPU containing per-particle rendering data.
Definition at line 17 of file ParticleEmitterComponent.hpp.
| glm::vec4 vex::ParticleGPUData::color |
Particle color (rgba).
Definition at line 23 of file ParticleEmitterComponent.hpp.
| uint32_t vex::ParticleGPUData::isUnlit |
Flag determining if the particle is unlit (1) or affected by lighting (0).
Definition at line 22 of file ParticleEmitterComponent.hpp.
| glm::vec4 vex::ParticleGPUData::position |
Particle position (xyz) and unused (w).
Definition at line 18 of file ParticleEmitterComponent.hpp.
| float vex::ParticleGPUData::scaleX |
Particle horizontal scale.
Definition at line 19 of file ParticleEmitterComponent.hpp.
| float vex::ParticleGPUData::scaleY |
Particle vertical scale.
Definition at line 20 of file ParticleEmitterComponent.hpp.
| uint32_t vex::ParticleGPUData::textureID |
Bindless texture index.
Definition at line 21 of file ParticleEmitterComponent.hpp.