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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public static Inno.Core.Graphs.GraphDocument Inno.Rendering.Shaders.ShaderGraphBindings.RemoveNodes(Inno.Core.Graphs.GraphDocument graph, System.Collections.Generic.IEnumerable<Inno.Core.Graphs.GraphNodeId> nodeIds, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.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.