Function compute_opaque_mask

Source
pub fn compute_opaque_mask<const CS: usize>(
    voxels: &[u16],
    transparents: &BTreeSet<u16>,
) -> Box<[u64]>
Expand description

Compute an opacity mask from a voxel buffer and a BTreeSet specifying which voxel values are transparent