pub fn compute_opaque_mask<const CS: usize>( voxels: &[u16], transparents: &BTreeSet<u16>, ) -> Box<[u64]>
Compute an opacity mask from a voxel buffer and a BTreeSet specifying which voxel values are transparent