Synced
EditorShaderDraftCompilationSnapshot.Constructor
Section titled “EditorShaderDraftCompilationSnapshot.Constructor”
- Contains a preview-only immutable candidate, never registered as a canonical asset artifact.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Rendering
Declaration
Section titled “Declaration”public Inno.Editor.Rendering.EditorShaderDraftCompilationSnapshot.EditorShaderDraftCompilationSnapshot(Inno.Editor.Rendering.EditorShaderCompilationState state, bool usingLastGood, System.Collections.Generic.IReadOnlyList<Inno.Rendering.Assets.ShaderDiagnostic> diagnostics, Inno.Rendering.Assets.RenderShaderArtifact? artifact)Parameters
Section titled “Parameters”Parameter state: Latest draft compilation state.
Parameter usingLastGood: Whether the preview artifact belongs to an earlier successful draft.
Parameter diagnostics: Latest detached preview diagnostics, separate from project diagnostics.
Parameter artifact: Preview-only complete shader candidate, or null before the first success.