pub enum Slot {
Node(usize),
Run(usize),
Value(f32),
Pad(usize),
Origins,
}Expand description
What fills a kernel’s params after the 4-float header, in order.
Variants§
Node(usize)
A spec node’s param block: its op params, its window flag when it has one, a 4-float guard rect when it is guarded.
Run(usize)
Where run r‘s layers start and how many there are this frame (two
floats the packer writes; the layers’ blocks follow everything else).
Value(f32)
A literal float.
Pad(usize)
Zeros (padding a repeated layer to its stride).
Origins
Two floats per texture binding: where each placed texture sits.
Trait Implementations§
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Forget for Slot
impl Freeze for Slot
impl Move for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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