Skip to main content

ImGuiWidget Class

Abstract base class for ImGui widgets rendered in debug overlays. More...

Declaration

class helios::imgui::ImGuiWidget { ... }

Derived Classes

classCameraWidget

Debug widget for real-time camera parameter control and visualization. More...

classFpsWidget

Debug widget for real-time FPS metrics and frame pacing configuration. More...

classLogWidget

Debug widget for displaying log output in a scrollable ImGui panel. More...

classMainMenuWidget

Main menu bar providing access to application settings. More...

Public Constructors Index

ImGuiWidget ()=default

Public Destructor Index

~ImGuiWidget ()=default

Public Member Functions Index

voiddraw ()=0

Renders the widget using ImGui immediate-mode API. More...

Description

Abstract base class for ImGui widgets rendered in debug overlays.

All widgets must implement the draw() method, which is called once per frame by the owning ImGuiOverlay. Widgets are typically used for real-time debugging, profiling, and developer tools.

info

Widgets are not thread-safe and must be used from the main/render thread.

Definition at line 23 of file ImGuiWidget.ixx.

Public Constructors

ImGuiWidget()

helios::imgui::ImGuiWidget::ImGuiWidget ()
default

Definition at line 26 of file ImGuiWidget.ixx.

Public Destructor

~ImGuiWidget()

virtual helios::imgui::ImGuiWidget::~ImGuiWidget ()
virtual default

Definition at line 27 of file ImGuiWidget.ixx.

Public Member Functions

draw()

virtual void helios::imgui::ImGuiWidget::draw ()

Renders the widget using ImGui immediate-mode API.

Called once per frame by the owning overlay. Implementers should call ImGui functions (e.g., ImGui::Begin(), ImGui::Text()) to build the UI.

Definition at line 35 of file ImGuiWidget.ixx.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.