First-pass of a plugin system for GUI elements.

Refactor filament's debug drawing to be one such plugin.

PiperOrigin-RevId: 859002002
Change-Id: Ibe9000dec19fce648eef6d57170ce435b9a8c6ff
This commit is contained in:
Haroon Qureshi
2026-01-21 02:46:40 -08:00
committed by Copybara-Service
parent bf05bb1885
commit e2180ff744
10 changed files with 176 additions and 29 deletions
@@ -113,4 +113,10 @@ double mjr_getFrameRate(const mjrContext* con) {
return g_filament_context->GetFrameRate();
}
void mjr_updateGui(const mjrContext* con) {
if (g_filament_context != nullptr) {
g_filament_context->UpdateGui();
}
}
} // extern "C"