pub fn new(
        graph: &'a RenderGraph,
        node: &'a NodeState,
        inputs: &'a [SlotValue],
        outputs: &'a mut [Option<SlotValue>],
    ) -> Self {
        Self {
            graph,
            node,
            inputs,
            outputs,
            run_sub_graphs: Vec::new(),
        }
    }
/// Creates a new render graph context for the `node`.
Creates a new render graph context for the `node`.
Creates a new render graph context for the ` node ` .
pub fn new(
        graph: &'a RenderGraph,
        node: &'a NodeState,
        inputs: &'a [SlotValue],
        outputs: &'a mut [Option<SlotValue>],
    ) -> Self {
        Self {
            graph,
            node,
            inputs,
            outputs,
            run_sub_graphs: Vec::new(),
        }
    }
pub fn new ( graph : & ' a RenderGraph , node : & ' a NodeState , inputs : & ' a [ SlotValue ] , outputs : & ' a mut [ Option < SlotValue > ] , ) -> Self { Self { graph , node , inputs , outputs , run_sub_graphs : Vec :: new ( ) , } }
Creates a new render graph context for the `node`.
Creates a new render graph context for the ` node ` .
graph
&'a RenderGraph
node
&'a NodeState
inputs
&'a [SlotValue]
outputs
&'a mut [Option<SlotValue>]
graph
&'a RenderGraph
node
&'a NodeState
inputs
&'a [SlotValue]
outputs
&'a mut [Option<SlotValue>]