[−][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.
Implementations
impl QualitySettings
[src]
pub fn ultra() -> Self
[src]
Highest possible graphics quality. Requires very powerful GPU.
pub fn high() -> Self
[src]
High graphics quality, includes all graphical effects. Requires powerful GPU.
pub fn medium() -> Self
[src]
Medium graphics quality, some of effects are disabled, shadows will have sharp edges.
pub fn low() -> Self
[src]
Lowest graphics quality, all effects are disabled.
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,