Trait gemini_engine::elements::containers::CanShade
source · pub trait CanShade {
// Required method
fn shade(&mut self, pixel: Pixel) -> Pixel;
}Expand description
To write a shader you must have a struct that implements this shader