[][src]Trait pbrt::core::sampler::Sampler

pub trait Sampler: SamplerClone {
    fn start_pixel(&mut self, p: &Point2i);
fn get_1d(&mut self) -> Float;
fn get_2d(&mut self) -> Point2f;
fn request_2d_array(&mut self, n: i32);
fn round_count(&self, count: i32) -> i32;
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>;
fn start_next_sample(&mut self) -> bool;
fn reseed(&mut self, seed: u64);
fn get_current_pixel(&self) -> Point2i;
fn get_current_sample_number(&self) -> i64;
fn get_samples_per_pixel(&self) -> i64; fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample { ... } }

Required Methods

Provided Methods

Implementors

impl Sampler for MLTSampler
[src]

impl Sampler for HaltonSampler
[src]

impl Sampler for RandomSampler
[src]

impl Sampler for SobolSampler
[src]

impl Sampler for ZeroTwoSequenceSampler
[src]