Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Captures an imported graph in the current owner generation, then starts native compilation without retaining its asset.

API: engine
Project: Inno.Rendering.Assets.Authoring

public System.Threading.Tasks.ValueTask<Inno.Rendering.Assets.Authoring.ShaderCompilationResult> Inno.Rendering.Assets.Authoring.ShaderCompiler.CompileGraphAsync(Inno.Rendering.Assets.ShaderAsset shader, Inno.Rendering.Assets.Authoring.ShaderCompileTarget target, Inno.Rendering.Assets.RenderShaderVariant variant, Inno.Extensibility.Types.TypeCatalog types, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context, Inno.Assets.IAssetArtifactLookup artifacts, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter shader: Committed graph-backed shader asset.

Parameter target: Target policy and device capabilities.

Parameter variant: Exact material keyword selection.

Parameter types: Shared authoring type generation owner.

Parameter serialization: Owner converter registry.

Parameter context: Complete owner asset/reference context.

Parameter artifacts: Authoring artifact owner supplying the graph output, which is absent from runtime packages.

Parameter cancellationToken: Cancellation before candidate publication.

A native compilation task for the captured graph, or graph diagnostics without any native work.