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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more