pub fn prepare_preprocess_bind_groups(
commands: Commands<'_, '_>,
views: Query<'_, '_, (Entity, &ExtractedView)>,
view_depth_pyramids: Query<'_, '_, (&ViewDepthPyramid, &PreviousViewUniformOffset)>,
render_device: Res<'_, RenderDevice>,
batched_instance_buffers: Res<'_, BatchedInstanceBuffers<MeshUniform, MeshInputUniform>>,
indirect_parameters_buffers: Res<'_, IndirectParametersBuffers>,
mesh_culling_data_buffer: Res<'_, MeshCullingDataBuffer>,
view_uniforms: Res<'_, ViewUniforms>,
previous_view_uniforms: Res<'_, PreviousViewUniforms>,
pipelines: Res<'_, PreprocessPipelines>,
)
Expand description
A system that attaches the mesh uniform buffers to the bind groups for the variants of the mesh preprocessing compute shader.