pub struct MLTSampler {
Show 19 fields pub samples_per_pixel: i64, pub rng: Rng, pub sigma: Float, pub large_step_probability: Float, pub stream_count: i32, pub x: Vec<PrimarySample>, pub current_iteration: i64, pub large_step: bool, pub last_large_step_iteration: i64, pub stream_index: i32, pub sample_index: i32, pub current_pixel: Point2i, pub current_pixel_sample_index: i64, pub samples_1d_array_sizes: Vec<i32>, pub samples_2d_array_sizes: Vec<i32>, pub sample_array_1d: Vec<Vec<Float>>, pub sample_array_2d: Vec<Vec<Point2f>>, pub array_1d_offset: usize, pub array_2d_offset: usize,
}

Fields

samples_per_pixel: i64rng: Rngsigma: Floatlarge_step_probability: Floatstream_count: i32x: Vec<PrimarySample>current_iteration: i64large_step: boollast_large_step_iteration: i64stream_index: i32sample_index: i32current_pixel: Point2icurrent_pixel_sample_index: i64samples_1d_array_sizes: Vec<i32>samples_2d_array_sizes: Vec<i32>sample_array_1d: Vec<Vec<Float>>sample_array_2d: Vec<Vec<Point2f>>array_1d_offset: usizearray_2d_offset: usize

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.