Synced
ShaderGraphBindings.ChangeInput
Section titled “ShaderGraphBindings.ChangeInput”
- Creates a detached candidate with the input and its material/resource declaration updated together.
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.ChangeInput(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Graphs.GraphNodeId nodeId, InnoEditor.Rendering.Shaders.ShaderGraphInputSettings settings, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”A serializable candidate. Invalid input remains visible for normal graph validation.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The identity does not name a stage input node.