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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public static Inno.Core.Graphs.GraphDocument Inno.Rendering.Shaders.ShaderGraphPrograms.Bind(Inno.Core.Graphs.GraphDocument graph, string pass, System.Collections.Generic.IEnumerable<Inno.Core.Graphs.GraphNodeId> stages, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.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.