MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / engine

Function engine

native/android/src/lib.rs:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12static mut ASSET_BASE_PATH: Option<String> = None;
13
14fn engine() -> &'static mut EngineState {
15 unsafe { ENGINE.get_mut().expect("Engine not initialized") }
16}
17
18/// Resolve relative asset paths to the app's base asset directory.
19/// On Android, relative paths like "assets/models/tree.glb" won't resolve

Callers 15

bloom_begin_drawingFunction · 0.70
bloom_end_drawingFunction · 0.70
bloom_clear_backgroundFunction · 0.70
bloom_set_target_fpsFunction · 0.70
bloom_set_direct_2d_modeFunction · 0.70
bloom_get_delta_timeFunction · 0.70
bloom_get_fpsFunction · 0.70
bloom_get_screen_widthFunction · 0.70
bloom_get_screen_heightFunction · 0.70
bloom_is_key_pressedFunction · 0.70
bloom_is_key_downFunction · 0.70

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected