MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / schedule_graphics_callback

Function schedule_graphics_callback

src/python/python_runtime.cpp:1091–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089 }
1090
1091 void schedule_graphics_callback(std::function<void()> fn) {
1092 std::lock_guard lock(g_graphics_callbacks_mutex);
1093 g_graphics_callbacks.push_back(std::move(fn));
1094 }
1095
1096 bool has_pending_graphics_callbacks() {
1097 std::lock_guard lock(g_graphics_callbacks_mutex);

Callers 8

unregister_panelMethod · 0.85
unregister_allMethod · 0.85
unregister_for_moduleMethod · 0.85
destroyMethod · 0.85
free_plugin_iconsFunction · 0.85
free_plugin_texturesFunction · 0.85
register_uiFunction · 0.85
initMethod · 0.85

Calls 2

moveFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected