Struct bsdf::SampleOutgoingResponse
source · pub struct SampleOutgoingResponse {
pub omega_o: Vec3d,
pub bsdf: RgbD,
pub pdf: f64,
}
Expand description
Contains the Data that is returned by BSDF::sample_outgoing
Fields§
§omega_o: Vec3d
The direction to which light is scattered to
bsdf: RgbD
The value at for the BSDF. Indicates how much light is scattered from the incoming direction to the outgoing direction
pdf: f64
The probability distribution for choosing omega_o
given omega_i
Auto Trait Implementations§
impl RefUnwindSafe for SampleOutgoingResponse
impl Send for SampleOutgoingResponse
impl Sync for SampleOutgoingResponse
impl Unpin for SampleOutgoingResponse
impl UnwindSafe for SampleOutgoingResponse
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