pub fn clear_batched_cpu_instance_buffers<GBD>(
    cpu_batched_instance_buffer: Option<ResMut<'_, BatchedInstanceBuffer<<GBD as GetBatchData>::BufferData>>>
)
where GBD: GetBatchData,
Expand description

A system that clears out the BatchedInstanceBuffer for the frame.

This needs to run before the CPU batched instance buffers are used.