22 void OnInit(
const nlohmann::json& initArgs = nlohmann::json::object())
override;
A floating ImGui window managed by the Ship Gui layer.
Definition GuiWindow.h:39
GuiWindow(std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< Window > window, const std::string &visibilityCvar, bool isVisible, const std::string &name, ImVec2 originalSize, uint32_t windowFlags)
Full constructor with constructor-injected dependencies, explicit size and window flags.
An ImGui window that displays runtime performance statistics.
Definition StatsWindow.h:13
void DrawElement() override
Renders the stats panel contents via ImGui.
void UpdateElement() override
Updates cached counters and timing values before each draw.
void OnInit(const nlohmann::json &initArgs=nlohmann::json::object()) override
Performs one-time setup (no additional initialisation required).
virtual ~StatsWindow()
Virtual destructor.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14