pub trait MergeVoxel: Voxel {
    type MergeValue: Eq;

    fn merge_value(&self) -> Self::MergeValue;
}

Required Associated Types

Required Methods

The value used to determine if this voxel can join a given quad in the mesh. This value will be constant for all voxels in the same quad. Often this is some material identifier so that the same texture can be used for a full quad.

Implementors