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

API: engine
Project: Inno.Rendering.Shaders

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)

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.