Synced
ShaderArtifactSelection.Constructor
Section titled “ShaderArtifactSelection.Constructor”
- Creates an artifact selection result.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.Authoring.ShaderArtifactSelection.ShaderArtifactSelection(Inno.Rendering.Assets.Authoring.CompiledShaderArtifact? artifact, bool candidateSucceeded, bool usingLastGood, System.Collections.Generic.IReadOnlyList<Inno.Rendering.Assets.ShaderDiagnostic> diagnostics)Parameters
Section titled “Parameters”Parameter artifact: Selected candidate or last-good artifact.
Parameter candidateSucceeded: Whether the candidate replaced active state.
Parameter usingLastGood: Whether a previous artifact was preserved.
Parameter diagnostics: Candidate diagnostics.