pub struct DirectLightingIntegrator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl SamplerIntegrator for DirectLightingIntegrator
impl SamplerIntegrator for DirectLightingIntegrator
fn preprocess(&mut self, scene: &Scene, sampler: &mut dyn Sampler)
fn li( &self, ray: &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 DirectLightingIntegrator
Auto Trait Implementations§
impl Freeze for DirectLightingIntegrator
impl !RefUnwindSafe for DirectLightingIntegrator
impl !Send for DirectLightingIntegrator
impl Unpin for DirectLightingIntegrator
impl !UnwindSafe for DirectLightingIntegrator
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