Skip to main content

surface_batches

Function surface_batches 

Source
pub fn surface_batches(
    instances: &[Instance],
    swaying: impl Fn(MeshHandle) -> bool,
    clipped: impl Fn(usize) -> bool,
    cut: impl Fn(usize) -> bool,
) -> Vec<Batch>