Struct rs_pbrt::materials::fourier::FourierMaterial
source · pub struct FourierMaterial {
pub bsdf_table: Arc<FourierBSDFTable>,
pub bump_map: Option<Arc<dyn Texture<Float> + Sync + Send>>,
}
Fields§
§bsdf_table: Arc<FourierBSDFTable>
§bump_map: Option<Arc<dyn Texture<Float> + Sync + Send>>
Implementations§
source§impl FourierMaterial
impl FourierMaterial
pub fn new( bsdf_table: Arc<FourierBSDFTable>, bump_map: Option<Arc<dyn Texture<Float> + Sync + Send>> ) -> Self
pub fn create( mp: &mut TextureParams, bsdf_state: &mut BsdfState ) -> Arc<Material>
pub fn compute_scattering_functions( &self, si: &mut SurfaceInteraction<'_>, mode: TransportMode, _allow_multiple_lobes: bool, _material: Option<Arc<Material>>, scale_opt: Option<Spectrum> )
Auto Trait Implementations§
impl !RefUnwindSafe for FourierMaterial
impl Send for FourierMaterial
impl Sync for FourierMaterial
impl Unpin for FourierMaterial
impl !UnwindSafe for FourierMaterial
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more