pub struct MentalRayRenderSettings {Show 49 fields
pub class_version_1: i32,
pub preset_name: String,
pub render_materials: bool,
pub texture_sampling_quality: i32,
pub render_back_faces: bool,
pub render_shadows: bool,
pub preview_file_name: String,
pub class_version_2: i32,
pub minimum_sampling_rate: i32,
pub maximum_sampling_rate: i32,
pub sampling_filter_type: SamplingFilterType,
pub filter_width: f64,
pub filter_height: f64,
pub sampling_contrast_color_red: f64,
pub sampling_contrast_color_green: f64,
pub sampling_contrast_color_blue: f64,
pub sampling_contrast_color_alpha: f64,
pub shadow_mode: RenderShadowMode,
pub map_shadows: bool,
pub ray_tracing: bool,
pub ray_tracing_depth_reflections: i32,
pub ray_tracing_depth_refractions: i32,
pub ray_tracing_depth_maximum: i32,
pub use_global_illumination: bool,
pub sample_count: i32,
pub use_global_illumination_radius: bool,
pub global_illumination_radius: f64,
pub photons_per_light: i32,
pub global_illumination_depth_reflections: i32,
pub global_illumination_depth_refractions: i32,
pub global_illumination_depth_maximum: i32,
pub use_final_gather: bool,
pub final_gather_ray_count: i32,
pub use_final_gather_minimum_radius: bool,
pub use_final_gather_maximum_radius: bool,
pub use_final_gather_pixels: bool,
pub final_gather_sample_radius_minimum: f64,
pub final_gather_sample_radius_maximum: f64,
pub luminance_scale: f64,
pub diagnostic_mode: RenderDiagnosticMode,
pub diagnostic_grid_mode: RenderDiagnosticGridMode,
pub grid_size: f64,
pub diagnostic_photon_mode: DiagnosticPhotonMode,
pub diagnostic_bsp_mode: DiagnosticBSPMode,
pub export_mi_statistics: bool,
pub mi_statistics_file_name: String,
pub tile_size: i32,
pub tile_order: TileOrder,
pub memory_limit: i32,
}Fields§
§class_version_1: i32§preset_name: String§render_materials: bool§texture_sampling_quality: i32§render_back_faces: bool§render_shadows: bool§preview_file_name: String§class_version_2: i32§minimum_sampling_rate: i32§maximum_sampling_rate: i32§sampling_filter_type: SamplingFilterType§filter_width: f64§filter_height: f64§sampling_contrast_color_red: f64§sampling_contrast_color_green: f64§sampling_contrast_color_blue: f64§sampling_contrast_color_alpha: f64§shadow_mode: RenderShadowMode§map_shadows: bool§ray_tracing: bool§ray_tracing_depth_reflections: i32§ray_tracing_depth_refractions: i32§ray_tracing_depth_maximum: i32§use_global_illumination: bool§sample_count: i32§use_global_illumination_radius: bool§global_illumination_radius: f64§photons_per_light: i32§global_illumination_depth_reflections: i32§global_illumination_depth_refractions: i32§global_illumination_depth_maximum: i32§use_final_gather: bool§final_gather_ray_count: i32§use_final_gather_minimum_radius: bool§use_final_gather_maximum_radius: bool§use_final_gather_pixels: bool§final_gather_sample_radius_minimum: f64§final_gather_sample_radius_maximum: f64§luminance_scale: f64§diagnostic_mode: RenderDiagnosticMode§diagnostic_grid_mode: RenderDiagnosticGridMode§grid_size: f64§diagnostic_photon_mode: DiagnosticPhotonMode§diagnostic_bsp_mode: DiagnosticBSPMode§export_mi_statistics: bool§mi_statistics_file_name: String§tile_size: i32§tile_order: TileOrder§memory_limit: i32Trait Implementations§
Source§impl Clone for MentalRayRenderSettings
impl Clone for MentalRayRenderSettings
Source§fn clone(&self) -> MentalRayRenderSettings
fn clone(&self) -> MentalRayRenderSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MentalRayRenderSettings
impl Debug for MentalRayRenderSettings
Source§impl Default for MentalRayRenderSettings
impl Default for MentalRayRenderSettings
Source§fn default() -> MentalRayRenderSettings
fn default() -> MentalRayRenderSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MentalRayRenderSettings
impl PartialEq for MentalRayRenderSettings
impl StructuralPartialEq for MentalRayRenderSettings
Auto Trait Implementations§
impl Freeze for MentalRayRenderSettings
impl RefUnwindSafe for MentalRayRenderSettings
impl Send for MentalRayRenderSettings
impl Sync for MentalRayRenderSettings
impl Unpin for MentalRayRenderSettings
impl UnsafeUnpin for MentalRayRenderSettings
impl UnwindSafe for MentalRayRenderSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more