pub struct SPPMIntegrator {
pub camera: Arc<dyn Camera>,
pub initial_search_radius: Float,
pub n_iterations: u32,
pub max_depth: i32,
pub photons_per_iteration: i32,
pub write_frequency: i32,
}Fields§
§camera: Arc<dyn Camera>§initial_search_radius: Float§n_iterations: u32§max_depth: i32§photons_per_iteration: i32§write_frequency: i32Implementations§
Trait Implementations§
Source§impl Integrator for SPPMIntegrator
impl Integrator for SPPMIntegrator
Auto Trait Implementations§
impl Freeze for SPPMIntegrator
impl !RefUnwindSafe for SPPMIntegrator
impl Send for SPPMIntegrator
impl Sync for SPPMIntegrator
impl Unpin for SPPMIntegrator
impl !UnwindSafe for SPPMIntegrator
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more