OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.games.games_session_if.GamesRuntimeUiIf Class Reference

Render the native host; process and platform operations remain external. More...

Public Member Functions

tuple[int, int, int] show_runtime_host (self, Callable[[int, int], None] on_resize)
 Create a native host and return its handle and pixel dimensions.
None set_runtime_loading (self, bool loading)
 Show or clear the launch indicator.
None hide_runtime_host (self)
 Restore the game inventory presentation.

Detailed Description

Render the native host; process and platform operations remain external.

Member Function Documentation

◆ set_runtime_loading()

None ui.games.games_session_if.GamesRuntimeUiIf.set_runtime_loading ( self,
bool loading )

Show or clear the launch indicator.

Parameters
loadingWhether the launch indicator should be visible.

◆ show_runtime_host()

tuple[int, int, int] ui.games.games_session_if.GamesRuntimeUiIf.show_runtime_host ( self,
Callable[[int, int], None] on_resize )

Create a native host and return its handle and pixel dimensions.

Parameters
on_resizeCallback receiving the new pixel width and height.
Returns
Native host handle, width, and height.

The documentation for this class was generated from the following file:
  • ui/games/games_session_if.py