pub enum Warp {
None,
Swirl,
Ripple,
Fisheye,
}Expand description
The curated procedural warp an accumulation resamples its past through, from
the [feedback] warp structural key (ADR-0048).
Load-time, not bindable, by [curve] family’s reasoning: a warp kind is a
shader path, not a quantity, and ADR-0021 already rejected bindable discrete
indexes for the flicker/hard-cut class of reasons. Its strength is the
ordinary bindable fb_warp, which is where a preset puts the audio.
The family is deliberately small (ADR-0048 Alternative A): an author-defined per-pixel warp is a grammar-to-WGSL translator and a per-preset pipeline compile, and it should be decided as that rather than smuggled in as a stage option.
Variants§
None
No procedural warp — the affine alone. The default, and the identity.
Swirl
A vortex: the past rotates about the feedback centre by an angle that falls off with radius, so the middle spins faster than the rim.
Ripple
Concentric standing waves in radius — the past breathes in rings.
Fisheye
A radial magnification that grows with radius: the periphery is drawn in
(positive fb_warp) or pushed out (negative).
Implementations§
Trait Implementations§
impl Copy for Warp
impl Eq for Warp
impl StructuralPartialEq for Warp
Auto Trait Implementations§
impl Freeze for Warp
impl RefUnwindSafe for Warp
impl Send for Warp
impl Sync for Warp
impl Unpin for Warp
impl UnsafeUnpin for Warp
impl UnwindSafe for Warp
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,
§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
§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
key and return true if they are equal.