// Shared particle struct for compute and render shaders struct Particle { pos: vec4f, vel: vec4f, rot: vec4f, color: vec4f, };