[][src]Struct pbrt::integrators::mlt::MLTIntegrator

pub struct MLTIntegrator {
    pub camera: Arc<Camera>,
    pub max_depth: u32,
    pub n_bootstrap: u32,
    pub n_chains: u32,
    pub mutations_per_pixel: u32,
    pub sigma: Float,
    pub large_step_probability: Float,
}

Metropolis Light Transport

Fields

camera: Arc<Camera>max_depth: u32n_bootstrap: u32n_chains: u32mutations_per_pixel: u32sigma: Floatlarge_step_probability: Float

Methods

impl MLTIntegrator[src]

pub fn new(
    camera: Arc<Camera>,
    max_depth: u32,
    n_bootstrap: u32,
    n_chains: u32,
    mutations_per_pixel: u32,
    sigma: Float,
    large_step_probability: Float
) -> Self
[src]

pub fn l(
    &self,
    scene: &Scene,
    light_distr: &Arc<Distribution1D>,
    mlt_sampler: &mut MLTSampler,
    depth: u32,
    p_raster: &mut Point2f
) -> Spectrum
[src]

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

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

Auto Trait Implementations

impl Send for MLTIntegrator

impl Unpin for MLTIntegrator

impl Sync for MLTIntegrator

impl UnwindSafe for MLTIntegrator

impl RefUnwindSafe for MLTIntegrator

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]