Enum rs_pbrt::core::material::TransportMode
source · pub enum TransportMode {
Radiance,
Importance,
}
Expand description
Is used to inform non-symetric BSDFs about the transported quantity so that they can correctly switch between the adjoint and non-adjoint forms.
Variants§
Trait Implementations§
source§impl Clone for TransportMode
impl Clone for TransportMode
source§fn clone(&self) -> TransportMode
fn clone(&self) -> TransportMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransportMode
impl Debug for TransportMode
source§impl PartialEq<TransportMode> for TransportMode
impl PartialEq<TransportMode> for TransportMode
source§fn eq(&self, other: &TransportMode) -> bool
fn eq(&self, other: &TransportMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransportMode
impl StructuralPartialEq for TransportMode
Auto Trait Implementations§
impl RefUnwindSafe for TransportMode
impl Send for TransportMode
impl Sync for TransportMode
impl Unpin for TransportMode
impl UnwindSafe for TransportMode
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