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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public static Inno.Core.Graphs.GraphDocument Inno.Rendering.Shaders.ShaderGraphBindings.ChangeInput(Inno.Core.Graphs.GraphDocument graph, Inno.Core.Graphs.GraphNodeId nodeId, Inno.Rendering.Shaders.ShaderGraphInputSettings settings, 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 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.