MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / main_loop_begin

Method main_loop_begin

platform/android/os_android.cpp:352–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void OS_Android::main_loop_begin() {
353 if (main_loop) {
354 main_loop->initialize();
355 }
356
357#ifdef TOOLS_ENABLED
358 if (Engine::get_singleton()->is_editor_hint()) {
359 GameViewPlugin *game_view_plugin = _get_game_view_plugin();
360 if (game_view_plugin != nullptr) {
361 game_view_plugin->connect("main_screen_changed", callable_mp_static(&OS_Android::_on_main_screen_changed));
362 }
363 }
364#endif
365}
366
367bool OS_Android::main_loop_iterate(bool *r_should_swap_buffers) {
368 if (!main_loop) {

Calls 3

connectMethod · 0.65
initializeMethod · 0.45
is_editor_hintMethod · 0.45

Tested by

no test coverage detected