Trait lyon_extra::triangle_rasterizer::PixelShader [] [src]

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

Required Methods

Implementors