Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced

EditorShaderDraftCompilationSnapshot.Constructor

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

API: scripting
Project: Inno.Editor.Rendering
Scope: Editor

public InnoEditor.Rendering.EditorShaderDraftCompilationSnapshot.EditorShaderDraftCompilationSnapshot(InnoEditor.Rendering.EditorShaderCompilationState state, bool usingLastGood, System.Collections.Generic.IReadOnlyList<InnoEngine.Rendering.ShaderDiagnostic> diagnostics, InnoEngine.Rendering.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.