LavaClient
88 declarations · 70 documented
LavaClient
-
blockingCallfunctionTask.detachedputs the await on the global concurrency pool, where resuming it needs nobody's cooperation, and the semaphore hands the answer back to the calling thread. -
CompositorResourcesclassThe client's end of resource naming: LavaUI asks, the compositor answers.
-
connectToCompositorfunctionConnects to the compositor. Returns the proxy plus the
Rpcthat owns its transport, which the caller must keep alive. -
ControlPlaneenumWhere the renderer publishes its object reference, and the client reads it.
-
ControlPlaneErrorenum -
DesktopDiagnosticsenumWhat the compositor knows about its own GPU memory.
-
DesktopSettingsenumThe desktop's own preferences, for the app that exists to change them.
-
InputChannelclassThe app's end of
SubscribeInput: an async stream on one side, a frame loop that is not async on the other. -
LavaClientenumRuns a LavaUI app as a client of the compositor: no window, no GPU, frames published into shared memory for another process to draw.
-
SettingsErrorenumWhat a settings call can fail with that is worth showing a user.
-
WireInputEventtypealiasThe wire event, disambiguated from
LavaUI.InputEvent.