1 2 3 4 5 6 7
// Shared particle struct for compute and render shaders struct Particle { pos: vec4f, vel: vec4f, rot: vec4f, color: vec4f, };