Namespace P64::Debug::Overlay¶
APIs for the builtin debug overlay.
Functions¶
-
void P64::Debug::Overlay::toggle()¶
Shows/Hides the debug menu.
-
Menu &P64::Debug::Overlay::addCustomMenu(const char *name)¶
Adds a custom entry into the overlay.
Note that the entire menu is reset after each scene-load, including custom entries.
- Parameters:
name – must be unique and not conflict with existing entries
- Returns:
reference to the added menu. use this to add options / values
-
void P64::Debug::Overlay::removeCustomMenu(const char *name)¶
Removes an entry added via addCustomMenu.
- Parameters:
name –