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:
committed by
Copybara-Service
parent
bf05bb1885
commit
e2180ff744
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user