VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::ParticleGPUData Struct Reference

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).

Detailed Description

Structure passed to the GPU containing per-particle rendering data.

Definition at line 17 of file ParticleEmitterComponent.hpp.

Member Data Documentation

◆ color

glm::vec4 vex::ParticleGPUData::color

Particle color (rgba).

Definition at line 23 of file ParticleEmitterComponent.hpp.

◆ isUnlit

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.

◆ position

glm::vec4 vex::ParticleGPUData::position

Particle position (xyz) and unused (w).

Definition at line 18 of file ParticleEmitterComponent.hpp.

◆ scaleX

float vex::ParticleGPUData::scaleX

Particle horizontal scale.

Definition at line 19 of file ParticleEmitterComponent.hpp.

◆ scaleY

float vex::ParticleGPUData::scaleY

Particle vertical scale.

Definition at line 20 of file ParticleEmitterComponent.hpp.

◆ textureID

uint32_t vex::ParticleGPUData::textureID

Bindless texture index.

Definition at line 21 of file ParticleEmitterComponent.hpp.


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