Module os_api

Source

Enums§

PathEntry
When browsing files because of Android we need this API.

Constants§

USUAL_FPS_SUSPECTS

Functions§

get_all_display_refresh_rates
Return and maybe Log all the display refresh rates available.
get_assets
Read all the assets of a given assets sub directory.
get_assets_dir
For bin tools and non android exe. For Android use app.asset_manager()
get_display_refresh_rate
Get the current display rate if possible.
get_display_refresh_rates
Get the display rates available from the given list. See USUAL_FPS_SUSPECTS)
get_env_blend_modes
Get the list of environnement blend_modes available on this device.
get_external_path
Get the path to external data directory for non android (assets)
get_files
Read the files and eventually the sub directory of a given directory
get_internal_path
Get the path to external data directory for non android
get_shaders_sks_dir
Where sks shaders are store under assets dir. For bin tools and none android exe. For Android use app.asset_manager()
get_shaders_source_dir
For bin tools only
open_asset
Open an asset like a file
read_asset
Open and read an asset like a file
set_display_refresh_rate
Set the current display rate if possible. Possible values on Quest and WiVRn are 60 - 80 - 72 - 80 - 90 - 120 returns true if the given value was accepted
show_soft_input
Open nothing has we don’t have a virtual keyboard
show_soft_input_ime
Open nothing has we don’t have a winit IME keyboard