[][src]Struct pbrt::integrators::sppm::SPPMIntegrator

pub struct SPPMIntegrator {
    pub camera: Arc<Camera>,
    pub initial_search_radius: Float,
    pub n_iterations: i32,
    pub max_depth: u32,
    pub photons_per_iteration: i32,
    pub write_frequency: i32,
}

Stochastic Progressive Photon Mapping

Fields

camera: Arc<Camera>initial_search_radius: Floatn_iterations: i32max_depth: u32photons_per_iteration: i32write_frequency: i32

Methods

impl SPPMIntegrator[src]

pub fn new(
    camera: Arc<Camera>,
    n_iterations: i32,
    photons_per_iteration: i32,
    max_depth: u32,
    initial_search_radius: Float,
    write_frequency: i32
) -> Self
[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 SPPMIntegrator

impl Unpin for SPPMIntegrator

impl Sync for SPPMIntegrator

impl UnwindSafe for SPPMIntegrator

impl RefUnwindSafe for SPPMIntegrator

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]