[][src]Struct pbrt::integrators::bdpt::BDPTIntegrator

pub struct BDPTIntegrator {
    pub camera: Arc<Camera>,
    pub sampler: Arc<Sampler>,
    pub pixel_bounds: Bounds2i,
    pub max_depth: u32,
    pub light_sample_strategy: String,
}

Bidirectional Path Tracing (Global Illumination)

Fields

camera: Arc<Camera>sampler: Arc<Sampler>pixel_bounds: Bounds2imax_depth: u32light_sample_strategy: String

Implementations

impl BDPTIntegrator[src]

pub fn new(
    camera: Arc<Camera>,
    sampler: Arc<Sampler>,
    pixel_bounds: Bounds2i,
    max_depth: u32,
    light_sample_strategy: String
) -> Self
[src]

pub fn get_light_sample_strategy(&self) -> String[src]

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

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

pub fn get_sampler(&self) -> Arc<Sampler>[src]

Auto Trait Implementations

impl RefUnwindSafe for BDPTIntegrator

impl Send for BDPTIntegrator

impl Sync for BDPTIntegrator

impl Unpin for BDPTIntegrator

impl UnwindSafe for BDPTIntegrator

Blanket Implementations

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

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

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

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

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

impl<T> SetParameter 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.