Trait ray_tracing_core::texture::Visitor[][src]

pub trait Visitor {
    fn visit_constant_texture(
        &mut self,
        t: &ConstantTexture
    ) -> Result<(), Box<dyn Error>>;
fn visit_bitmap_texture(
        &mut self,
        t: &BitmapTexture
    ) -> Result<(), Box<dyn Error>>;
fn visit_checker_texture(
        &mut self,
        t: &CheckerTexture
    ) -> Result<(), Box<dyn Error>>;
fn visit_noise_texture(
        &mut self,
        t: &NoiseTexture
    ) -> Result<(), Box<dyn Error>>;
fn visit_color_filter(
        &mut self,
        t: &ColorFilter
    ) -> Result<(), Box<dyn Error>>; }

Required methods

fn visit_constant_texture(
    &mut self,
    t: &ConstantTexture
) -> Result<(), Box<dyn Error>>
[src]

fn visit_bitmap_texture(
    &mut self,
    t: &BitmapTexture
) -> Result<(), Box<dyn Error>>
[src]

fn visit_checker_texture(
    &mut self,
    t: &CheckerTexture
) -> Result<(), Box<dyn Error>>
[src]

fn visit_noise_texture(
    &mut self,
    t: &NoiseTexture
) -> Result<(), Box<dyn Error>>
[src]

fn visit_color_filter(&mut self, t: &ColorFilter) -> Result<(), Box<dyn Error>>[src]

Loading content...

Implementors

Loading content...