pub fn gpu_sort_by_depth(system: &mut GpuParticleSystem, camera_dir: [f64; 3])Expand description
Sort active particles by depth along camera_dir (back-to-front) for
correct alpha blending.
camera_dir should be the normalised view direction (world space). The
sort is stable so that ties preserve the original emission order.