[][src]Trait building_blocks_mesh::greedy_quads::MaterialVoxel

pub trait MaterialVoxel {
    type Material: Eq;
    fn material(&self) -> Self::Material;
}

Associated Types

type Material: Eq

Loading content...

Required methods

fn material(&self) -> Self::Material

Used for comparing the materials of voxels. A single quad of the greedy mesh will contain faces of voxels that all share the same material.

Loading content...

Implementors

Loading content...