add_culling_to_graph

Function add_culling_to_graph 

Source
pub fn add_culling_to_graph<'node, M: Material>(
    graph: &mut RenderGraph<'node>,
    pre_cull_data: DataHandle<Buffer>,
    culled: DataHandle<PerMaterialArchetypeData>,
    skinned: DataHandle<SkinningOutput>,
    per_material: &'node PerMaterialArchetypeInterface<M>,
    gpu_culler: &'node ProfileData<(), GpuCuller>,
    shadow_index: Option<usize>,
    key: u64,
    sorting: Option<Sorting>,
    name: &str,
)
Expand description

Add the profile-approprate culling for the given material archetype to the graph.