Synced
EditorShaderCompilation.RequestDraft
Section titled “EditorShaderCompilation.RequestDraft”
- Compiles a detached document through the same graph toolchain in an isolated preview cache.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Rendering
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”Preview-only state and artifact; calling this method cannot publish to Scene/Game.