Synced
EditorUiSession
Section titled “EditorUiSession”
- Owns editor controls and transient presentation state for one host, independently from other ImGui contexts.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.ImGui.EditorUiSession : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | EditorUiSession.Constructor | Creates independent controls and style state; the presentation backend retains its native context ownership. |
| Methods | EditorUiSession.Dispose | Releases presentation state after all drawing scopes and domain edit gestures have ended. |
| Methods | EditorUiSession.Enter | Activates this session for a synchronous callback while preserving the enclosing scope. |
| Properties | EditorUiSession.current | Gets the current synchronous drawing scope; this accessor never creates or owns a session. |
| Properties | EditorUiSession.isDisposed | Gets whether this session has successfully retired its presentation state. |
| Properties | EditorUiSession.widgets | Gets the controls whose transient state belongs exclusively to this session. |