materials
The material used to render each graph output, keyed by output node identifier.
Declaration
var materials: [ComputeNodeGraph.NodeID : any Material] { get set }Discussion
Assigning a resource initializes this dictionary from the materials the resource defines for its outputs. Assign a new value to replace them.