pub struct VolPathIntegrator {
pub base: BaseSamplerIntegrator,
pub max_depth: u32,
pub rr_threshold: Float,
pub light_sample_strategy: String,
pub light_distribution: Option<Arc<dyn LightDistribution>>,
}Fields§
§base: BaseSamplerIntegrator§max_depth: u32§rr_threshold: Float§light_sample_strategy: String§light_distribution: Option<Arc<dyn LightDistribution>>Implementations§
Trait Implementations§
Source§impl Integrator for VolPathIntegrator
impl Integrator for VolPathIntegrator
Source§impl SamplerIntegrator for VolPathIntegrator
impl SamplerIntegrator for VolPathIntegrator
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 VolPathIntegrator
Auto Trait Implementations§
impl Freeze for VolPathIntegrator
impl !RefUnwindSafe for VolPathIntegrator
impl !Send for VolPathIntegrator
impl Unpin for VolPathIntegrator
impl !UnwindSafe for VolPathIntegrator
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