[][src]Struct pbrt::materials::subsurface::SubsurfaceMaterial

pub struct SubsurfaceMaterial {
    pub scale: Float,
    pub kr: Arc<dyn Texture<Spectrum> + Sync + Send>,
    pub kt: Arc<dyn Texture<Spectrum> + Sync + Send>,
    pub sigma_a: Arc<dyn Texture<Spectrum> + Sync + Send>,
    pub sigma_s: Arc<dyn Texture<Spectrum> + Sync + Send>,
    pub u_roughness: Arc<dyn Texture<Float> + Sync + Send>,
    pub v_roughness: Arc<dyn Texture<Float> + Sync + Send>,
    pub bump_map: Option<Arc<dyn Texture<Float> + Send + Sync>>,
    pub eta: Float,
    pub remap_roughness: bool,
    pub table: Arc<BssrdfTable>,
}

Fields

Methods

impl SubsurfaceMaterial
[src]

Trait Implementations

impl Material for SubsurfaceMaterial
[src]

Computing the effect of bump mapping at the point being shaded given a particular displacement texture. Read more

Auto Trait Implementations

impl Send for SubsurfaceMaterial

impl Sync for SubsurfaceMaterial

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.