Skip to main content

Module presentation

Module presentation 

Source
Expand description

Portable semantic UI documents and explicit per-view presentation routing. Portable semantic UI documents and per-view presentation routing.

This module describes what an assistant or scene wants to present. Platform adapters own pixels, graphics handles, eye textures, input devices, and room tracking implementations. A PresentationPlan makes every target view explicit so a stereo adapter cannot accidentally present one monoscopic dialog for both eyes.

Structs§

PresentationContext
Adapter-owned resolved spatial state needed to construct a presentation plan.
PresentationPlan
Validated mapping of one semantic document onto every view of a target.
ResolvedRoomAnchor
A room anchor resolved by a presentation adapter before plan construction.
RoomAnchorId
Identifier for a tracked room anchor supplied by an adapter.
UiActionId
Opaque application action identifier carried by UI events.
UiDocument
One semantic UI document, independent of a device’s view or graphics APIs.
UiDocumentId
Owned identifier for a semantic UI document.
UiEvent
Input reported by a platform adapter for a specific document revision.
UiNode
A typed node in a flat semantic UI document.
UiNodeId
Owned identifier for a node within a UI document.
UiResourceId
Opaque identifier for an adapter-resolved image resource.
ValidatedUiEvent
Event proven to target an enabled node in the displayed document revision.
ViewRoute
A centrally produced routing instruction for one adapter view.
Viewport
A positive, half-open rectangular region in adapter-defined logical pixels.

Enums§

DeviceTarget
Adapter-declared presentation topology.
PresentationError
Rejection reason for presentation documents, topology, or input.
ResolvedUiPlacement
Placement ready for a renderer after all required room anchors are resolved.
UiEventAction
Typed user input accepted only by a matching node role.
UiNavigation
Direction for deterministic focus navigation.
UiNodeKind
Semantic role and typed values of a UI node.
UiPlacement
Placement requested by a semantic UI document.
ViewIdentity
A named target view; it has no platform graphics handle.

Constants§

MAX_UI_ID_BYTES
Maximum UTF-8 byte length of a UI identifier, action, or resource name.
MAX_UI_NODES
Maximum nodes accepted in one portable UI document.
MAX_UI_TEXT_BYTES
Maximum UTF-8 byte length of visible UI text or text input value.