[−][src]Struct rg3d::renderer::QualitySettings
Quality settings allows you to find optimal balance between performance and graphics quality.
Fields
point_shadow_map_size: usize
Point shadows Size of cube map face of shadow map texture in pixels.
point_soft_shadows: bool
Use or not percentage close filtering (smoothing) for point shadows.
point_shadows_enabled: bool
Point shadows enabled or not.
point_shadows_distance: f32
Maximum distance from camera to draw shadows.
spot_shadow_map_size: usize
Spot shadows Size of square shadow map texture in pixels
spot_soft_shadows: bool
Use or not percentage close filtering (smoothing) for spot shadows.
spot_shadows_enabled: bool
Spot shadows enabled or not.
spot_shadows_distance: f32
Maximum distance from camera to draw shadows.
use_ssao: bool
Whether to use screen space ambient occlusion or not.
ssao_radius: f32
Radius of sampling hemisphere used in SSAO, it defines much ambient occlusion will be in your scene.
light_scatter_enabled: bool
Global switch to enable or disable light scattering. Each light can have its own scatter switch, but this one is able to globally disable scatter.
Trait Implementations
impl Clone for QualitySettings
[src]
fn clone(&self) -> QualitySettings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for QualitySettings
[src]
impl Default for QualitySettings
[src]
impl PartialEq<QualitySettings> for QualitySettings
[src]
fn eq(&self, other: &QualitySettings) -> bool
[src]
fn ne(&self, other: &QualitySettings) -> bool
[src]
impl StructuralPartialEq for QualitySettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for QualitySettings
impl Send for QualitySettings
impl Sync for QualitySettings
impl Unpin for QualitySettings
impl UnwindSafe for QualitySettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,