pub struct NodeDebugInfo {
pub id: String,
pub def_id: String,
pub name: String,
pub kind: String,
pub inputs: Vec<(usize, String)>,
pub output_texture: Option<TextureDebugInfo>,
pub buffer_offset: Option<u64>,
pub buffer_size: Option<u64>,
pub actions: Vec<ActionDebugInfo>,
pub params: Vec<ParamDebugInfo>,
pub ports: Vec<PortDebugInfo>,
}Expand description
Debug information for a node in the graph
Fields§
§id: StringNode ID (as string for display)
def_id: StringDefinition ID (plugin name)
name: StringDisplay name
kind: StringNode kind (Shader/TextureSource)
inputs: Vec<(usize, String)>Input connections: (input_index, source_node_id)
output_texture: Option<TextureDebugInfo>Output texture info (if applicable)
buffer_offset: Option<u64>Buffer offset in parameter buffer
buffer_size: Option<u64>Buffer size in parameter buffer
actions: Vec<ActionDebugInfo>Actions available for this node
params: Vec<ParamDebugInfo>Parameters defined for this node
ports: Vec<PortDebugInfo>Ports defined for this node
Trait Implementations§
Source§impl Clone for NodeDebugInfo
impl Clone for NodeDebugInfo
Source§fn clone(&self) -> NodeDebugInfo
fn clone(&self) -> NodeDebugInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeDebugInfo
impl RefUnwindSafe for NodeDebugInfo
impl Send for NodeDebugInfo
impl Sync for NodeDebugInfo
impl Unpin for NodeDebugInfo
impl UnwindSafe for NodeDebugInfo
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