Synced
UiRuntime
Section titled “UiRuntime”
- Owns retained UI contexts, imported font leases, and current-frame input for one runtime session.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.UI.IUiService
Inherits: Inno.Runtime.Contracts.RuntimeSubsystem
Project: Inno.UI.Runtime
Declaration
Section titled “Declaration”public sealed class Inno.UI.Runtime.UiRuntime : Inno.Runtime.Contracts.RuntimeSubsystem, Inno.UI.IUiServiceMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | UiRuntime.Constructor | Creates a UI runtime and assumes ownership of its backend. |
| Methods | UiRuntime.CloseDocument | Closes the selected document and releases its retained state. |
| Methods | UiRuntime.CreateContext | Creates a context using this implementation’s validated inputs. |
| Methods | UiRuntime.DestroyContext | Destroys the context after its in-flight references retire. |
| Methods | UiRuntime.DrainEvents | Returns and clears events emitted by this UI context. |
| Methods | UiRuntime.EnterExecutionScope | Binds this runtime to the current asynchronous execution context. |
| Methods | UiRuntime.HasElementAtPoint | Tests whether an interactive document element occupies the supplied point. |
| Methods | UiRuntime.HideDocument | Hides the selected document while retaining its state. |
| Methods | UiRuntime.LoadDocument(Inno.UI.UiContextHandle,Inno.UI.UiDocumentAsset) | Loads a document into the specified independent UI context. |
| Methods | UiRuntime.LoadDocument(Inno.UI.UiContextHandle,Inno.UI.UiDocumentSource) | Loads a document into the specified independent UI context. |
| Methods | UiRuntime.OnBeginFrame | Captures the input service snapshot and binds script-facing UI for the complete runtime frame. |
| Methods | UiRuntime.OnStop | Releases native UI state before releasing retained font artifacts. |
| Methods | UiRuntime.RegisterTexture | Registers a named RGBA texture source for UI document drawing. |
| Methods | UiRuntime.Render | Records value rendering for the current frame. |
| Methods | UiRuntime.SetAttribute | Updates the attribute state and applies the resulting invariants. |
| Methods | UiRuntime.SetClass | Updates the class state and applies the resulting invariants. |
| Methods | UiRuntime.SetContent | Updates the content state and applies the resulting invariants. |
| Methods | UiRuntime.SetText | Updates the text state and applies the resulting invariants. |
| Methods | UiRuntime.SetViewport | Updates the viewport state and applies the resulting invariants. |
| Methods | UiRuntime.ShowDocument | Makes the selected document visible in its owning UI context. |
| Methods | UiRuntime.Update(Inno.UI.UiContextHandle) | Recomputes owned state from the current validated inputs. |
| Methods | UiRuntime.Update(Inno.UI.UiContextHandle,Inno.UI.UiInputSnapshot) | Advances one UI context with input routed from its rendered view. |