pub struct PathIntegrator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Integrator for PathIntegrator
impl Integrator for PathIntegrator
Source§impl SamplerIntegrator for PathIntegrator
impl SamplerIntegrator for PathIntegrator
fn preprocess(&mut self, scene: &Scene, _sampler: &mut dyn Sampler)
fn li( &self, r: &RayDifferential, scene: &Scene, sampler: &mut dyn Sampler, arena: &mut MemoryArena, _depth: i32, ) -> Spectrum
fn get_sampler(&self) -> Arc<RwLock<dyn Sampler>>
fn get_pixel_bounds(&self) -> Bounds2i
fn specular_reflect( &self, ray: &RayDifferential, isect: &SurfaceInteraction, scene: &Scene, sampler: &mut dyn Sampler, arena: &mut MemoryArena, depth: i32, ) -> Spectrum
fn specular_transmit( &self, ray: &RayDifferential, isect: &SurfaceInteraction, scene: &Scene, sampler: &mut dyn Sampler, arena: &mut MemoryArena, depth: i32, ) -> Spectrum
impl Sync for PathIntegrator
Auto Trait Implementations§
impl Freeze for PathIntegrator
impl !RefUnwindSafe for PathIntegrator
impl !Send for PathIntegrator
impl Unpin for PathIntegrator
impl !UnwindSafe for PathIntegrator
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