Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

EditorShaderDraftCompilationSnapshot.Constructor

Section titled “EditorShaderDraftCompilationSnapshot.Constructor”
  • Contains a preview-only immutable candidate, never registered as a canonical asset artifact.

API: engine
Project: Inno.Editor.Rendering

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)

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.