Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Removes selected nodes, stage-owned nodes and declarations which lose their last graph owner.

API: engine
Project: Inno.Rendering.Shaders

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)

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.

A detached candidate suitable for one atomic history entry; unrelated incomplete content is retained.

Exception T:System.ArgumentException: A selected identity is not in the document.