addNode(_:)
Adds a node to the graph and returns its name.
Declaration
@discardableResult final func addNode(_ node: ShaderGraph.Node) throws -> StringReturn Value
The name used to reference this node in subsequent calls.
Adds a node to the graph and returns its name.
@discardableResult final func addNode(_ node: ShaderGraph.Node) throws -> StringThe name used to reference this node in subsequent calls.