pub fn write_batched_instance_buffer<GBD>(
render_device: Res<'_, RenderDevice>,
render_queue: Res<'_, RenderQueue>,
cpu_batched_instance_buffer: ResMut<'_, BatchedInstanceBuffer<GBD::BufferData>>
)where
GBD: GetBatchData,
Expand description
Writes the instance buffer data to the GPU.