bevy_render::batching::gpu_preprocessing

Function batch_and_prepare_binned_render_phase

Source
pub fn batch_and_prepare_binned_render_phase<BPI, GFBD>(
    gpu_array_buffer: ResMut<'_, BatchedInstanceBuffers<GFBD::BufferData, GFBD::BufferInputData>>,
    indirect_parameters_buffer: ResMut<'_, IndirectParametersBuffer>,
    binned_render_phases: ResMut<'_, ViewBinnedRenderPhases<BPI>>,
    views: Query<'_, '_, (Entity, Has<GpuCulling>)>,
    param: StaticSystemParam<'_, '_, GFBD::Param>,
)
Expand description

Creates batches for a render phase that uses bins.