Struct rs_pbrt::integrators::mlt::MLTIntegrator
source · 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,
}
Expand description
Metropolis Light Transport
Fields§
§camera: Arc<Camera>
§max_depth: u32
§n_bootstrap: u32
§n_chains: u32
§mutations_per_pixel: u32
§sigma: Float
§large_step_probability: Float
Implementations§
source§impl MLTIntegrator
impl MLTIntegrator
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
pub fn l( &self, scene: &Scene, light_distr: Arc<Distribution1D>, sampler: &mut Sampler, depth: u32, p_raster: &mut Point2f ) -> Spectrum
pub fn render(&self, scene: &Scene, num_threads: u8)
pub fn get_camera(&self) -> Arc<Camera>
Auto Trait Implementations§
impl RefUnwindSafe for MLTIntegrator
impl Send for MLTIntegrator
impl Sync for MLTIntegrator
impl Unpin for MLTIntegrator
impl UnwindSafe for MLTIntegrator
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