validateAddingNode(_:)
Validates that a node can be added to the graph without adding it, throwing a descriptive error if not.
Declaration
final func validateAddingNode(_ node: ShaderGraph.Node) throwsDiscussion
Use canAddNode(_:) instead when only a yes/no answer is needed.