bevy_render::batching::gpu_preprocessing

Function write_batched_instance_buffers

Source
pub fn write_batched_instance_buffers<GFBD>(
    render_device: Res<'_, RenderDevice>,
    render_queue: Res<'_, RenderQueue>,
    gpu_array_buffer: ResMut<'_, BatchedInstanceBuffers<GFBD::BufferData, GFBD::BufferInputData>>,
)
where GFBD: GetFullBatchData,
Expand description

A system that writes all instance buffers to the GPU.