[−][src]Struct pbrt::materials::subsurface::SubsurfaceMaterial
Fields
scale: Float
kr: Arc<dyn Texture<Spectrum> + Sync + Send>
kt: Arc<dyn Texture<Spectrum> + Sync + Send>
sigma_a: Arc<dyn Texture<Spectrum> + Sync + Send>
sigma_s: Arc<dyn Texture<Spectrum> + Sync + Send>
u_roughness: Arc<dyn Texture<Float> + Sync + Send>
v_roughness: Arc<dyn Texture<Float> + Sync + Send>
bump_map: Option<Arc<dyn Texture<Float> + Send + Sync>>
eta: Float
remap_roughness: bool
table: Arc<BssrdfTable>
Methods
impl SubsurfaceMaterial[src]
impl SubsurfaceMaterialpub fn new(
scale: Float,
kr: Arc<dyn Texture<Spectrum> + Sync + Send>,
kt: Arc<dyn Texture<Spectrum> + Sync + Send>,
sigma_a: Arc<dyn Texture<Spectrum> + Sync + Send>,
sigma_s: Arc<dyn Texture<Spectrum> + Sync + Send>,
g: Float,
eta: Float,
u_roughness: Arc<dyn Texture<Float> + Sync + Send>,
v_roughness: Arc<dyn Texture<Float> + Sync + Send>,
bump_map: Option<Arc<dyn Texture<Float> + Sync + Send>>,
remap_roughness: bool
) -> Self[src]
pub fn new(
scale: Float,
kr: Arc<dyn Texture<Spectrum> + Sync + Send>,
kt: Arc<dyn Texture<Spectrum> + Sync + Send>,
sigma_a: Arc<dyn Texture<Spectrum> + Sync + Send>,
sigma_s: Arc<dyn Texture<Spectrum> + Sync + Send>,
g: Float,
eta: Float,
u_roughness: Arc<dyn Texture<Float> + Sync + Send>,
v_roughness: Arc<dyn Texture<Float> + Sync + Send>,
bump_map: Option<Arc<dyn Texture<Float> + Sync + Send>>,
remap_roughness: bool
) -> Selfpub fn create(mp: &mut TextureParams) -> Arc<dyn Material + Send + Sync>[src]
pub fn create(mp: &mut TextureParams) -> Arc<dyn Material + Send + Sync>Trait Implementations
impl Material for SubsurfaceMaterial[src]
impl Material for SubsurfaceMaterialfn compute_scattering_functions(
&self,
si: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool,
material: Option<Arc<dyn Material + Send + Sync>>
)[src]
fn compute_scattering_functions(
&self,
si: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool,
material: Option<Arc<dyn Material + Send + Sync>>
)fn bump(d: &Arc<dyn Texture<Float> + Send + Sync>, si: &mut SurfaceInteraction) where
Self: Sized, [src]
fn bump(d: &Arc<dyn Texture<Float> + Send + Sync>, si: &mut SurfaceInteraction) where
Self: Sized, 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 Send for SubsurfaceMaterialimpl Sync for SubsurfaceMaterial
impl Sync for SubsurfaceMaterialBlanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T> SetParameter for T[src]
impl<T> SetParameter for T