Skip to main content

batches

Function batches 

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