Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Provides retained-mode documents and backend-neutral UI frames to scripts and rendering plugins.

API: scripting
Project: Inno.UI
Scope: Runtime

public interface InnoEngine.UI.IUiService
Kind Element Description
Methods IUiService.CloseDocument Closes one document.
Methods IUiService.CreateContext Creates one independent UI context.
Methods IUiService.DestroyContext Destroys one UI context and all owned documents.
Methods IUiService.DrainEvents Drains document events queued by preceding updates.
Methods IUiService.HasElementAtPoint Tests whether a visible document element receives pointer events at a pixel location.
Methods IUiService.HideDocument Hides one document.
Methods IUiService.LoadDocument(InnoEngine.UI.UiContextHandle,InnoEngine.UI.UiDocumentAsset) Loads one imported document compatible with the selected backend.
Methods IUiService.LoadDocument(InnoEngine.UI.UiContextHandle,InnoEngine.UI.UiDocumentSource) Loads one explicitly tagged in-memory document.
Methods IUiService.RegisterTexture Registers one named RGBA8 texture source.
Methods IUiService.Render Builds an immutable frame of incremental resources and ordered draws.
Methods IUiService.SetAttribute Sets one element attribute.
Methods IUiService.SetClass Activates or deactivates one element class.
Methods IUiService.SetContent Replaces an element’s children with an explicitly tagged source-language fragment.
Methods IUiService.SetText Replaces an element’s children with plain Unicode text.
Methods IUiService.SetViewport Changes one context’s pixel dimensions and density.
Methods IUiService.ShowDocument Shows one document.
Methods IUiService.Update(InnoEngine.UI.UiContextHandle) Processes current-frame input and advances one context.
Methods IUiService.Update(InnoEngine.UI.UiContextHandle,InnoEngine.UI.UiInputSnapshot) Advances one context with explicitly routed viewport-local input.