Struct rtow::config::Configuration
[−]
[src]
pub struct Configuration { pub resolution: Resolution, pub n_samples: u32, pub output_filename: String, pub n_threads: u32, }
Describes the properties of the output image.
resolution
: self explanatoryn_samples
: the number of rays that are randomly sent through each pixel and then averaged together; a high number of samples provides more accurate colors, less noise and better anti-aliasing.output_filename
: self explanatory
Fields
resolution: Resolution
n_samples: u32
output_filename: String
n_threads: u32
Trait Implementations
impl Clone for Configuration
[src]
fn clone(&self) -> Configuration
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more