[][src]Enum pbrt::core::integrator::SamplerIntegrator

pub enum SamplerIntegrator {
    AO(AOIntegrator),
    DirectLighting(DirectLightingIntegrator),
    Path(PathIntegrator),
    VolPath(VolPathIntegrator),
    Whitted(WhittedIntegrator),
}

Variants

AO(AOIntegrator)
DirectLighting(DirectLightingIntegrator)
Path(PathIntegrator)
VolPath(VolPathIntegrator)
Whitted(WhittedIntegrator)

Methods

impl SamplerIntegrator[src]

pub fn preprocess(&mut self, scene: &Scene)[src]

pub fn render(&mut self, scene: &Scene, num_threads: u8)[src]

pub fn li(
    &self,
    ray: &mut Ray,
    scene: &Scene,
    sampler: &mut Box<dyn Sampler + Send + Sync>,
    depth: i32
) -> Spectrum
[src]

pub fn get_camera(&self) -> Arc<Camera>[src]

pub fn get_sampler(&self) -> &Box<dyn Sampler + Send + Sync>[src]

pub fn get_pixel_bounds(&self) -> Bounds2i[src]

pub fn specular_reflect(
    &self,
    ray: &Ray,
    isect: &SurfaceInteraction,
    scene: &Scene,
    sampler: &mut Box<dyn Sampler + Send + Sync>,
    depth: i32
) -> Spectrum
[src]

pub fn specular_transmit(
    &self,
    ray: &Ray,
    isect: &SurfaceInteraction,
    scene: &Scene,
    sampler: &mut Box<dyn Sampler + Send + Sync>,
    depth: i32
) -> Spectrum
[src]

Auto Trait Implementations

impl Send for SamplerIntegrator

impl Unpin for SamplerIntegrator

impl Sync for SamplerIntegrator

impl !UnwindSafe for SamplerIntegrator

impl !RefUnwindSafe for SamplerIntegrator

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T[src]