Synced
ShaderGraphPrograms.Bind
Section titled “ShaderGraphPrograms.Bind”
- Assigns existing shared stages to one pass in an atomic detached candidate.
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.ShaderGraphPrograms.Bind(InnoEngine.Graphs.GraphDocument graph, string pass, System.Collections.Generic.IEnumerable<InnoEngine.Graphs.GraphNodeId> stages, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter graph: Source document, never modified.
Parameter pass: Existing pass identity.
Parameter stages: Existing stage output node identities; an empty set preserves an incomplete pass.
Parameter serialization: Current owner converters.
Parameter context: Complete owner reference context.
Returns
Section titled “Returns”A candidate suitable for one shared History transaction.