pub struct RenderSettings {Show 34 fields
pub shading_mode: ShadingMode,
pub msaa_samples: u8,
pub bloom_enabled: bool,
pub bloom_threshold: f32,
pub bloom_intensity: f32,
pub ao_enabled: bool,
pub ao_radius: f32,
pub ao_samples: u32,
pub shadow_enabled: bool,
pub shadow_bias: f32,
pub ssr_enabled: bool,
pub ssr_steps: u32,
pub dof_enabled: bool,
pub dof_focus_dist: f32,
pub dof_aperture: f32,
pub motion_blur_enabled: bool,
pub motion_blur_strength: f32,
pub exposure: f32,
pub tonemapping: ToneMappingMode,
pub gamma: f32,
pub show_bounding_boxes: bool,
pub show_light_cones: bool,
pub show_bone_envelopes: bool,
pub show_force_field_radii: bool,
pub show_particle_counts: bool,
pub render_scale: f32,
pub background_color: Vec4,
pub use_skybox: bool,
pub skybox_intensity: f32,
pub fog_enabled: bool,
pub fog_start: f32,
pub fog_end: f32,
pub fog_density: f32,
pub fog_color: Vec3,
}Fields§
§shading_mode: ShadingMode§msaa_samples: u8§bloom_enabled: bool§bloom_threshold: f32§bloom_intensity: f32§ao_enabled: bool§ao_radius: f32§ao_samples: u32§shadow_enabled: bool§shadow_bias: f32§ssr_enabled: bool§ssr_steps: u32§dof_enabled: bool§dof_focus_dist: f32§dof_aperture: f32§motion_blur_enabled: bool§motion_blur_strength: f32§exposure: f32§tonemapping: ToneMappingMode§gamma: f32§show_bounding_boxes: bool§show_light_cones: bool§show_bone_envelopes: bool§show_force_field_radii: bool§show_particle_counts: bool§render_scale: f32§background_color: Vec4§use_skybox: bool§skybox_intensity: f32§fog_enabled: bool§fog_start: f32§fog_end: f32§fog_density: f32§fog_color: Vec3Trait Implementations§
Source§impl Clone for RenderSettings
impl Clone for RenderSettings
Source§impl Debug for RenderSettings
impl Debug for RenderSettings
Auto Trait Implementations§
impl Freeze for RenderSettings
impl RefUnwindSafe for RenderSettings
impl Send for RenderSettings
impl Sync for RenderSettings
impl Unpin for RenderSettings
impl UnsafeUnpin for RenderSettings
impl UnwindSafe for RenderSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.