Struct AoQualitySettings
pub struct AoQualitySettings {
pub tier: AoQualityTier,
pub tap_count: u32,
pub radius_world: f32,
pub bias: f32,
pub intensity: f32,
pub depth_threshold: f32,
pub normal_power: f32,
pub bilateral_blur_enabled: bool,
}Expand description
Settings governing AO evaluation and bilateral reconstruction.
Fields§
§tier: AoQualityTier§tap_count: u32§radius_world: f32§bias: f32§intensity: f32§depth_threshold: f32§normal_power: f32§bilateral_blur_enabled: boolImplementations§
§impl AoQualitySettings
impl AoQualitySettings
pub fn from_profile(profile: &RenderQualityProfile) -> AoQualitySettings
pub fn from_profile(profile: &RenderQualityProfile) -> AoQualitySettings
Derive AO settings deterministically from a RenderQualityProfile.
pub const fn disabled() -> AoQualitySettings
pub const fn disabled() -> AoQualitySettings
AoQualitySettings::disabled.
Trait Implementations§
§impl Clone for AoQualitySettings
impl Clone for AoQualitySettings
§fn clone(&self) -> AoQualitySettings
fn clone(&self) -> AoQualitySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AoQualitySettings
§impl Debug for AoQualitySettings
impl Debug for AoQualitySettings
§impl PartialEq for AoQualitySettings
impl PartialEq for AoQualitySettings
impl StructuralPartialEq for AoQualitySettings
Auto Trait Implementations§
impl Freeze for AoQualitySettings
impl RefUnwindSafe for AoQualitySettings
impl Send for AoQualitySettings
impl Sync for AoQualitySettings
impl Unpin for AoQualitySettings
impl UnsafeUnpin for AoQualitySettings
impl UnwindSafe for AoQualitySettings
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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