pub enum ShadowStrategy {
Standard,
Medium,
LowRes,
}Expand description
Strategy slot mirroring the Lane family registered on the agent.
One value = one fully-featured shadow pipeline. The agent stores the
currently-selected variant so execute() knows which lane to invoke
(the registry holds them both, but only one runs per frame).
Variants§
Standard
Full-quality pipeline: 2048² × 4-layer 2D atlas + 512² × 4-cube
cube atlas. Maps to [StandardShadowsLane].
Medium
Half resolution (1024² × 4-layer + 256² × 4-cube) — the Balanced
middle rung. Maps to [MediumShadowsLane].
LowRes
Quarter resolution (512² × 4-layer + 128² × 4-cube).
Maps to [LowResShadowsLane].
Implementations§
Trait Implementations§
Source§impl Clone for ShadowStrategy
impl Clone for ShadowStrategy
Source§fn clone(&self) -> ShadowStrategy
fn clone(&self) -> ShadowStrategy
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 moreSource§impl Debug for ShadowStrategy
impl Debug for ShadowStrategy
Source§impl PartialEq for ShadowStrategy
impl PartialEq for ShadowStrategy
Source§fn eq(&self, other: &ShadowStrategy) -> bool
fn eq(&self, other: &ShadowStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ShadowStrategy
impl Eq for ShadowStrategy
impl StructuralPartialEq for ShadowStrategy
Auto Trait Implementations§
impl Freeze for ShadowStrategy
impl RefUnwindSafe for ShadowStrategy
impl Send for ShadowStrategy
impl Sync for ShadowStrategy
impl Unpin for ShadowStrategy
impl UnsafeUnpin for ShadowStrategy
impl UnwindSafe for ShadowStrategy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.