pub struct SpecNode {
pub def: &'static OpDef,
pub children: Vec<Child>,
pub resource: Option<usize>,
pub code: Option<String>,
pub tables: usize,
pub tag: usize,
pub gated: bool,
}Fields§
§def: &'static OpDef§children: Vec<Child>One per connected port, in port order.
resource: Option<usize>External index of the resource texture (GenResource ops).
code: Option<String>Agent-written shader code (Custom ops).
tables: usizeFloats of the code’s constant tables, after the rest of its param
block (see crate::tables).
tag: usizeCaller’s identifier for this node, carried through.
gated: boolHas a visibility window: one extra param float (after the op block) says whether it is active this frame; inactive nodes are skipped.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SpecNode
impl Freeze for SpecNode
impl Move for SpecNode
impl RefUnwindSafe for SpecNode
impl Send for SpecNode
impl Sync for SpecNode
impl Unpin for SpecNode
impl UnsafeUnpin for SpecNode
impl UnwindSafe for SpecNode
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