Synced
ShaderGraphProgramCompiler.Lower
Section titled “ShaderGraphProgramCompiler.Lower”
- Validates the complete pass/stage graph without deleting invalid or unavailable records.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderGraphProgramResult Inno.Rendering.Shaders.ShaderGraphProgramCompiler.Lower(Inno.Core.Graphs.GraphDocument document, string implementationId, System.Collections.Generic.IReadOnlyDictionary<Inno.Core.Graphs.GraphNodeId, Inno.Rendering.Shaders.ShaderSourceModuleAnalysis> sources, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter document: Authored graph, copied before validation.
Parameter implementationId: Exact adapter implementation identity selected by the caller.
Parameter sources: Frozen function modules keyed by source node identity.
Parameter serialization: The owner converter registry.
Parameter context: The complete owner reference context.
Parameter cancellationToken: Cancellation between stages and node invocations.
Returns
Section titled “Returns”All typed passes, or diagnostics without a partial publishable program.