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 explanatory
  • n_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

Trait Implementations

impl Clone for Configuration
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Configuration

impl Sync for Configuration