Trait rs_pbrt::core::texture::Texture

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

Required Methods§

source

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

Implementors§

source§

impl Texture<f32> for ImageTexture<Float>

source§

impl Texture<RGBSpectrum> for ImageTexture<Spectrum>

source§

impl Texture<RGBSpectrum> for MarbleTexture

source§

impl<T> Texture<T> for FBmTexturewhere T: From<Float>,

source§

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

source§

impl<T> Texture<T> for ScaleTexture<T>where T: Mul<Output = T> + Copy,

source§

impl<T> Texture<T> for WindyTexturewhere T: From<Float>,

source§

impl<T> Texture<T> for WrinkledTexturewhere T: From<Float>,

source§

impl<T: Copy> Texture<T> for Checkerboard2DTexture<T>

source§

impl<T: Copy> Texture<T> for ConstantTexture<T>

source§

impl<T: Copy> Texture<T> for DotsTexture<T>