pub enum QualityTier {
Minimal,
Reduced,
Standard,
High,
}Expand description
Quality tiers from cheapest to richest.
The order is the control axis: AdaptiveQuality steps one tier at a
time, so a tier carries no meaning beyond its position in this list.
Variants§
Minimal
Lowest cost: coarsest surface grids, narrowest sample budgets.
Reduced
Below the standard tier; still progressive, never below one sample.
Standard
The default interactive tier, and the tier every non-adaptive presentation holds.
High
Full sample budgets for converged interactive output.
Implementations§
Source§impl QualityTier
impl QualityTier
Sourcepub const fn surface_grid_spacing(self) -> f32
pub const fn surface_grid_spacing(self) -> f32
Surface field grid spacing in Ångström for this tier.
Sourcepub const fn temporal_samples(self) -> u8
pub const fn temporal_samples(self) -> u8
Temporal accumulation budget for this tier, in samples.
Sourcepub const fn image_samples(self) -> u32
pub const fn image_samples(self) -> u32
Off-screen image sample count for this tier.
Trait Implementations§
Source§impl Clone for QualityTier
impl Clone for QualityTier
impl Copy for QualityTier
Source§impl Debug for QualityTier
impl Debug for QualityTier
Source§impl Default for QualityTier
impl Default for QualityTier
impl Eq for QualityTier
Source§impl Ord for QualityTier
impl Ord for QualityTier
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for QualityTier
impl PartialEq for QualityTier
Source§impl PartialOrd for QualityTier
impl PartialOrd for QualityTier
impl StructuralPartialEq for QualityTier
Auto Trait Implementations§
impl Freeze for QualityTier
impl RefUnwindSafe for QualityTier
impl Send for QualityTier
impl Sync for QualityTier
impl Unpin for QualityTier
impl UnsafeUnpin for QualityTier
impl UnwindSafe for QualityTier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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