Trait Palette
fastanvil
pub trait Palette { pub fn pick(&self, block: &Block<'_>, biome: Option<Biome>) -> Rgba; }
Palette can be used to take a block description to produce a colour that it should render to.
pub fn pick(&self, block: &Block<'_>, biome: Option<Biome>) -> Rgba
impl Palette for RenderedPalette