Synced
ShaderCompiler.CompileAsync
Section titled “ShaderCompiler.CompileAsync”
- Compiles a typed stage through the configured adapter without an intermediate complete-source authoring asset.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask<Inno.Rendering.Assets.Authoring.ShaderStageToolResult> Inno.Rendering.Assets.Authoring.ShaderCompiler.CompileAsync(Inno.Rendering.Shaders.ShaderIrStage stage, Inno.Rendering.Assets.Authoring.ShaderCompileTarget target, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter stage: Typed stage and frozen function modules.
Parameter target: Configured target capability/profile snapshot.
Parameter cancellationToken: Cancellation before publishing the candidate.
Returns
Section titled “Returns”Compiled stage bytes, exact generated binding names and structured diagnostics.