pub struct DisneyMaterial { /* private fields */ }
Implementations
sourceimpl DisneyMaterial
impl DisneyMaterial
pub fn create(mp: &mut TextureParams) -> 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 DisneyMaterial
impl Send for DisneyMaterial
impl Sync for DisneyMaterial
impl Unpin for DisneyMaterial
impl !UnwindSafe for DisneyMaterial
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