Trait arendur::material::Material
[−]
[src]
pub trait Material: Sync + Send { fn compute_scattering<'a>(
&self,
si: &mut SurfaceInteraction,
dxy: &DxyInfo,
alloc: &'a Allocator
) -> Bsdf<'a>; }
The material interface
Required Methods
fn compute_scattering<'a>(
&self,
si: &mut SurfaceInteraction,
dxy: &DxyInfo,
alloc: &'a Allocator
) -> Bsdf<'a>
&self,
si: &mut SurfaceInteraction,
dxy: &DxyInfo,
alloc: &'a Allocator
) -> Bsdf<'a>
Implementors
impl Material for MatteMaterial
impl Material for PlasticMaterial
impl Material for GlassMaterial
impl Material for TranslucentMaterial
impl<T: Material + ?Sized> Material for Arc<T>