pub enum Deposit {
Max,
Add,
}Expand description
How this frame’s light lands on the transformed past, from the
[feedback] blend structural key (ADR-0048).
Variants§
Max
accum = max(cur, prev * fade) — the engine’s only blend until ADR-0048,
and still the default. Bounded by the source maximum.
Add
accum = cur + prev * fade — echoes that sum. Its geometric series is
bounded by 1 / (1 - fade), which under the MAX_FADE = 0.98 ceiling is
50x, and it rolls off through ADR-0046’s tonemap rather than clipping.
Only viable at all because the composite runs in linear light above 1.0.
Implementations§
Trait Implementations§
impl Copy for Deposit
impl Eq for Deposit
impl StructuralPartialEq for Deposit
Auto Trait Implementations§
impl Freeze for Deposit
impl RefUnwindSafe for Deposit
impl Send for Deposit
impl Sync for Deposit
impl Unpin for Deposit
impl UnsafeUnpin for Deposit
impl UnwindSafe for Deposit
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.