[][src]Trait pbrt::core::texture::Texture

pub trait Texture<T> {
    fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T;
}

Required methods

fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T

Loading content...

Implementors

impl Texture<f32> for ImageTexture<Float>[src]

impl Texture<RGBSpectrum> for ImageTexture<Spectrum>[src]

impl Texture<RGBSpectrum> for MarbleTexture[src]

impl<T> Texture<T> for FBmTexture where
    T: From<Float>, 
[src]

impl<T> Texture<T> for WindyTexture where
    T: From<Float>, 
[src]

impl<T> Texture<T> for WrinkledTexture where
    T: From<Float>, 
[src]

impl<T: Copy> Texture<T> for Checkerboard2DTexture<T>[src]

impl<T: Copy> Texture<T> for ConstantTexture<T>[src]

impl<T: Copy> Texture<T> for DotsTexture<T>[src]

impl<T: Copy> Texture<T> for MixTexture<T> where
    T: Add<Output = T>,
    T: Mul<Output = T>,
    T: From<Float>, 
[src]

impl<T: Copy> Texture<T> for ScaleTexture<T> where
    T: Mul<Output = T>, 
[src]

Loading content...