Expand description
Native Android host shell for Damascene wgpu apps.
Android does not let a Rust app create a winit event loop from
process-global state. The Activity glue calls the app’s exported
android_main(AndroidApp), and the host must attach that value to
the event-loop builder before Damascene takes over.
Downstream Android cdylib crates should export android_main and
call run or run_with_config with their normal
damascene_core::App.
Structs§
- Android
App - The top-level state and interface for a native Rust application
- Host
Config - Configuration for the optional native winit + wgpu host.
Functions§
- run
- Run an Damascene app in Android’s
NativeActivitysurface. - run_
with_ config - Run an Damascene app in Android’s
NativeActivitysurface with explicit host configuration.