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 for_atom_count(atom_count: u64) -> Self
pub const fn for_atom_count(atom_count: u64) -> Self
Selects the largest tier allowed by scene size before frame-time adaptation.
The bands bound expensive surface, temporal and upload work without touching coordinates. Callers may still force publication quality; this policy only constrains adaptive realtime rendering.
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.
The two richer tiers share the finest spacing: it is the resolution at which a surface stops changing visibly, so a richer tier spends its budget on samples instead.
Sourcepub const fn ribbon_steps(self) -> u8
pub const fn ribbon_steps(self) -> u8
Maximum ribbon samples per trace interval for this tier.
Fewer samples coarsen the spline between residues only; the residue positions the ribbon passes through are unchanged.
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,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
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
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
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> ⓘ
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> ⓘ
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