Trait PixelShader
lyon_extra::triangle_rasterizer
pub trait PixelShader<Pixel, Vertex, Constants> { fn shade( pixel: Pixel, vertex_pixels: &Vertex, constants: &Constants ) -> Pixel; }
An operation that is applied to each rasterized pixel
fn shade(pixel: Pixel, vertex_pixels: &Vertex, constants: &Constants) -> Pixel