Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Compiles a detached document through the same graph toolchain in an isolated preview cache.

API: engine
Project: Inno.Editor.Rendering

public Inno.Editor.Rendering.EditorShaderDraftCompilationSnapshot Inno.Editor.Rendering.EditorShaderCompilation.RequestDraft(System.Guid documentId, Inno.Core.Graphs.GraphDocument graph, ulong revision, Inno.Rendering.Assets.RenderShaderVariant variant)

Parameter documentId: Preview owner identity, independent of canonical artifact lookup.

Parameter graph: Current draft, never modified or retained.

Parameter revision: Monotonic draft revision, including Undo/Redo.

Parameter variant: Exact static keyword selection.

Preview-only state and artifact; calling this method cannot publish to Scene/Game.