Manages the ImGui user interface system, handling GUI object registration and rendering. Implements a singleton pattern to ensure a single instance.
Подробнее...
#include <ImGuiModule.h>
|
|
| ~ImGuiModule ()=default |
| | Destructor for the ImGuiModule.
|
| |
|
void | renderUI () |
| | Renders the ImGui user interface. Calls the render function of all registered GUI objects.
|
| |
| void | addObject (GUIObject *object) |
| | Registers a GUI object to be rendered.
|
| |
| void | removeObject (uint32_t id) |
| | Removes a GUI object from the list using its unique ID.
|
| |
Manages the ImGui user interface system, handling GUI object registration and rendering. Implements a singleton pattern to ensure a single instance.
◆ addObject()
| void ImGuiModule::addObject |
( |
GUIObject * | object | ) |
|
|
inline |
Registers a GUI object to be rendered.
- Аргументы
-
| object | Pointer to the GUI object to be added. |
◆ getInstance()
Retrieves the singleton instance of the ImGuiModule.
- Возвращает
- Reference to the singleton ImGuiModule instance.
◆ removeObject()
| void ImGuiModule::removeObject |
( |
uint32_t | id | ) |
|
|
inline |
Removes a GUI object from the list using its unique ID.
- Аргументы
-
| id | The unique ID of the GUI object to remove. |
Объявления и описания членов класса находятся в файле: