Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a detached candidate with the input and its material/resource declaration updated together.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public static InnoEngine.Graphs.GraphDocument InnoEditor.Rendering.Shaders.ShaderGraphBindings.ChangeInput(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Graphs.GraphNodeId nodeId, InnoEditor.Rendering.Shaders.ShaderGraphInputSettings settings, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)

Parameter graph: Current shader graph, never mutated by this operation.

Parameter nodeId: Stage input node identity.

Parameter settings: New input settings, including incomplete values while typing.

Parameter serialization: Owner native converter registry.

Parameter context: Complete owner reference context for texture defaults.

A serializable candidate. Invalid input remains visible for normal graph validation.

Exception T:System.ArgumentException: The identity does not name a stage input node.