Synced
IShaderCompilerToolchain.CompileAsync
Section titled “IShaderCompilerToolchain.CompileAsync”
- Generates and compiles one typed stage, including its frozen function modules and resource layout.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask<Inno.Rendering.Assets.Authoring.ShaderStageToolResult> Inno.Rendering.Assets.Authoring.IShaderCompilerToolchain.CompileAsync(Inno.Rendering.Assets.Authoring.ShaderStageToolRequest request, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter request: Typed stage and exact target profile.
Parameter cancellationToken: Cancellation before publishing the candidate.
Returns
Section titled “Returns”Immutable compiled bytes, generated binding names and structured diagnostics.