pub enum Invocation {
Scalar,
Quads,
}Expand description
How evaluate_raw runs the program over the grid.
Variants§
Scalar
One pixel at a time; a derivative is the grid’s step for an input the caller places with Lane::U or
Lane::V (zero for a constant input), and of nothing computed.
Quads
2 x 2 quads, as a GPU runs them (PixelShader::execute_quad): a derivative is the difference inside the
quad, of inputs and computed values alike, and an implicit-LOD sample’s footprint the quad’s gradients of its
coordinates. A quad past the grid’s last row or column runs its outside lanes as helpers (their coordinates
continue past the edge), their values not kept.
Trait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
impl Copy for Invocation
Source§impl Debug for Invocation
impl Debug for Invocation
impl Eq for Invocation
Source§impl PartialEq for Invocation
impl PartialEq for Invocation
impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl Forget for Invocation
impl Freeze for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.