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

Function engine

native/macos/src/lib.rs:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29static mut AUDIO_UNIT: Option<AudioUnitInstance> = None;
30
31fn engine() -> &'static mut EngineState {
32 unsafe { ENGINE.get_mut().expect("Engine not initialized") }
33}
34
35/// Map macOS virtual key code to Bloom key code.
36fn map_keycode(keycode: u16) -> usize {

Callers 15

bloom_begin_drawingFunction · 0.70
bloom_end_drawingFunction · 0.70
bloom_take_screenshotFunction · 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

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected