Enum rs_pbrt::core::integrator::SamplerIntegrator
source · pub enum SamplerIntegrator {
AO(AOIntegrator),
DirectLighting(DirectLightingIntegrator),
Path(PathIntegrator),
VolPath(VolPathIntegrator),
Whitted(WhittedIntegrator),
}
Variants§
AO(AOIntegrator)
DirectLighting(DirectLightingIntegrator)
Path(PathIntegrator)
VolPath(VolPathIntegrator)
Whitted(WhittedIntegrator)
Implementations§
source§impl SamplerIntegrator
impl SamplerIntegrator
pub fn preprocess(&mut self, scene: &Scene)
sourcepub fn render(
&mut self,
scene: &Scene,
num_threads: u8,
display_server: Option<String>
)
pub fn render( &mut self, scene: &Scene, num_threads: u8, display_server: Option<String> )
All SamplerIntegrators use the same render loop, but call an individual li() method.
pub fn li( &self, ray: &mut Ray, scene: &Scene, sampler: &mut Sampler, depth: i32 ) -> Spectrum
pub fn get_camera(&self) -> Arc<Camera>
pub fn get_sampler(&self) -> &Sampler
pub fn get_pixel_bounds(&self) -> Bounds2i
pub fn specular_reflect( &self, ray: &Ray, isect: &SurfaceInteraction<'_>, scene: &Scene, sampler: &mut Sampler, depth: i32 ) -> Spectrum
pub fn specular_transmit( &self, ray: &Ray, isect: &SurfaceInteraction<'_>, scene: &Scene, sampler: &mut Sampler, depth: i32 ) -> Spectrum
Auto Trait Implementations§
impl !RefUnwindSafe for SamplerIntegrator
impl Send for SamplerIntegrator
impl Sync for SamplerIntegrator
impl Unpin for SamplerIntegrator
impl !UnwindSafe for SamplerIntegrator
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