Contents

validateAddingEdge(_:)

Validates that an edge can be added to the graph without adding it, throwing a descriptive error if not.

Declaration

final func validateAddingEdge(_ edge: ShaderGraph.Edge) throws

Discussion

Use canAddEdge(_:) instead when only a yes/no answer is needed.