[][src]Struct pbrt::samplers::zerotwosequence::ZeroTwoSequenceSampler

pub struct ZeroTwoSequenceSampler {
    pub samples_per_pixel: i64,
    pub n_sampled_dimensions: i64,
    // some fields omitted


samples_per_pixel: i64n_sampled_dimensions: i64


impl ZeroTwoSequenceSampler[src]

pub fn new(samples_per_pixel: i64, n_sampled_dimensions: i64) -> Self[src]

pub fn clone_with_seed(&self, seed: u64) -> Box<Sampler>[src]

pub fn create(params: &ParamSet) -> Box<Sampler>[src]

pub fn start_pixel(&mut self, p: Point2i)[src]

pub fn get_1d(&mut self) -> Float[src]

pub fn get_2d(&mut self) -> Point2f[src]

pub fn get_2d_sample(&self, array_idx: usize, idx: usize) -> Point2f[src]

pub fn request_2d_array(&mut self, n: i32)[src]

pub fn round_count(&self, count: i32) -> i32[src]

pub fn get_2d_array(&mut self, n: i32) -> Option<&[Point2f]>[src]

pub fn get_2d_array_idxs(&mut self, n: i32) -> (bool, usize, usize)[src]

pub fn start_next_sample(&mut self) -> bool[src]

pub fn reseed(&mut self, seed: u64)[src]

pub fn get_current_pixel(&self) -> Point2i[src]

pub fn get_current_sample_number(&self) -> i64[src]

pub fn get_samples_per_pixel(&self) -> i64[src]

Trait Implementations

impl Default for ZeroTwoSequenceSampler[src]

Auto Trait Implementations

impl RefUnwindSafe for ZeroTwoSequenceSampler

impl Send for ZeroTwoSequenceSampler

impl Sync for ZeroTwoSequenceSampler

impl Unpin for ZeroTwoSequenceSampler

impl UnwindSafe for ZeroTwoSequenceSampler

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.