pub fn extract_render_data(
buffer: &ParticleBuffer,
color_young: [f32; 4],
color_old: [f32; 4],
base_size: f32,
) -> Vec<ParticleRenderData>Expand description
Extract rendering data from a particle buffer.
Returns only alive particles, with color interpolated based on age.