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