Synced
ShaderGraphBindings.RemoveNodes
Section titled “ShaderGraphBindings.RemoveNodes”
- Removes selected nodes, stage-owned nodes and declarations which lose their last graph owner.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEngine.Graphs.GraphDocument InnoEditor.Rendering.Shaders.ShaderGraphBindings.RemoveNodes(InnoEngine.Graphs.GraphDocument graph, System.Collections.Generic.IEnumerable<InnoEngine.Graphs.GraphNodeId> nodeIds, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter graph: Current shader graph, never mutated by this operation.
Parameter nodeIds: Explicitly selected node identities. Deleting an output also deletes its stage contents.
Parameter serialization: Owner native converter registry.
Parameter context: Complete owner reference context for material defaults.
Returns
Section titled “Returns”A detached candidate suitable for one atomic history entry; unrelated incomplete content is retained.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: A selected identity is not in the document.