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

Function engine

native/windows/src/lib.rs:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8static mut ENGINE: OnceLock<EngineState> = OnceLock::new();
9
10fn engine() -> &'static mut EngineState {
11 unsafe { ENGINE.get_mut().expect("Engine not initialized") }
12}
13
14/// Map Win32 virtual key code to Bloom key code.
15fn map_keycode(vk: u32) -> usize {

Callers 15

poll_xinput_gamepadFunction · 0.70
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

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected