Synced
ShaderGraphArtifact.Lower
Section titled “ShaderGraphArtifact.Lower”
- Analyzes frozen functions and lowers the graph in the owner’s active generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public static Inno.Rendering.Shaders.ShaderGraphProgramResult Inno.Rendering.Assets.Authoring.ShaderGraphArtifact.Lower(System.ReadOnlySpan<byte> bytes, string implementationId, Inno.Rendering.Shaders.ShaderNodeCompilerRegistry nodes, Inno.Rendering.Shaders.ShaderSourceFrontendRegistry frontends, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context, System.Collections.Generic.IReadOnlyDictionary<string, string>? defines = null)Parameters
Section titled “Parameters”Parameter bytes: Committed authoring artifact bytes.
Parameter implementationId: Selected adapter implementation identity.
Parameter nodes: Shared node compiler registry.
Parameter frontends: Shared language frontend registry.
Parameter serialization: Owner native converter registry.
Parameter context: Complete owner asset/reference context.
Parameter defines: Exact target/variant preprocessing inputs.
Returns
Section titled “Returns”Complete typed stages or graph diagnostics, never a partial candidate.