Skip to main content

ImGuiBackend Class

Platform-agnostic interface for ImGui backend implementations. More...

Declaration

class helios::ext::imgui::ImGuiBackend { ... }

Derived Classes

classImGuiGlfwOpenGLBackend

ImGui backend for GLFW windowing and OpenGL 4.6 rendering. More...

Public Constructors Index

ImGuiBackend ()=default

Public Destructor Index

~ImGuiBackend ()=default

Public Member Functions Index

voidnewFrame ()=0

Prepares ImGui for a new frame. More...

voidrenderDrawData (ImDrawData *drawData)=0

Renders ImGui draw data to the screen. More...

Description

Platform-agnostic interface for ImGui backend implementations.

Concrete backends (e.g., GLFW+OpenGL, SDL+Vulkan) implement this interface to provide platform-specific initialization, frame setup, and rendering.

Definition at line 22 of file ImGuiBackend.ixx.

Public Constructors

ImGuiBackend()

helios::ext::imgui::ImGuiBackend::ImGuiBackend ()
default

Definition at line 26 of file ImGuiBackend.ixx.

Public Destructor

~ImGuiBackend()

virtual helios::ext::imgui::ImGuiBackend::~ImGuiBackend ()
virtual default

Definition at line 28 of file ImGuiBackend.ixx.

Public Member Functions

newFrame()

virtual void helios::ext::imgui::ImGuiBackend::newFrame ()

Prepares ImGui for a new frame.

Must be called at the beginning of each frame before any ImGui calls. Typically invokes platform-specific `NewFrame()` implementations.

Definition at line 36 of file ImGuiBackend.ixx.

renderDrawData()

virtual void helios::ext::imgui::ImGuiBackend::renderDrawData (ImDrawData * drawData)

Renders ImGui draw data to the screen.

Called after `ImGui::Render()` to submit draw commands to the GPU.

Parameters
drawData

Pointer to ImGui draw data (typically from `ImGui::GetDrawData()`).

Definition at line 45 of file ImGuiBackend.ixx.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.