struct GpuParticleVertex

Contains information about a single particle about to be inserted into the GPU simulation.

Matches the structure of the vertex buffer element used for injecting shader data into the simulation.

Public

Fields

Position

Vector3 Position

Lifetime

float Lifetime

Velocity

Vector3 Velocity

InvMaxLifetime

float InvMaxLifetime

Size

Vector2 Size

Rotation

float Rotation

DataUv

Vector2 DataUv