Trait crystal_ball::color::Texture[][src]

pub trait Texture: Debug + Send + Sync {
    fn get_pixel(&self, u: f64, v: f64) -> Color;
}
Expand description

Specify a color of each pixel.

Required methods

Return the color at the given coordinates.

Implementors