Skip to main content

write_mesh_culling_data_buffer

Function write_mesh_culling_data_buffer 

Source
pub fn write_mesh_culling_data_buffer(
    render_device: Res<'_, RenderDevice>,
    render_queue: Res<'_, RenderQueue>,
    mesh_culling_data_buffer: ResMut<'_, MeshCullingDataBuffer>,
    pipeline_cache: Res<'_, PipelineCache>,
    sparse_buffer_update_jobs: ResMut<'_, SparseBufferUpdateJobs>,
    sparse_buffer_update_bind_groups: ResMut<'_, SparseBufferUpdateBindGroups>,
    sparse_buffer_update_pipelines: Res<'_, SparseBufferUpdatePipelines>,
)
Expand description

Writes the information needed to do GPU mesh culling to the GPU.