pub enum Input {
Lanes([Lane; 4]),
Constant([f32; 4]),
GridUv,
}Expand description
A used input’s value. Lane k is the element’s k-th component, wherever the signature places the element in its
register (TEXCOORD1 packed into .zw receives lanes 0 and 1 there); lanes past its components are unused.
Variants§
Lanes([Lane; 4])
Four lanes, each its own value or grid coordinate.
Constant([f32; 4])
The same four floats at every pixel.
GridUv
U, V, 0, 0.
Trait Implementations§
impl Copy for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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