Skip to main content

MentalRayRenderSettings

Struct MentalRayRenderSettings 

Source
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: i32

Trait Implementations§

Source§

impl Clone for MentalRayRenderSettings

Source§

fn clone(&self) -> MentalRayRenderSettings

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MentalRayRenderSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MentalRayRenderSettings

Source§

fn default() -> MentalRayRenderSettings

Returns the “default value” for a type. Read more
Source§

impl PartialEq for MentalRayRenderSettings

Source§

fn eq(&self, other: &MentalRayRenderSettings) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for MentalRayRenderSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.