ImGuiBackend Class
Platform-agnostic interface for ImGui backend implementations. More...
Declaration
Derived Classes
| class | ImGuiGlfwOpenGLBackend |
|
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
| void | newFrame ()=0 |
|
Prepares ImGui for a new frame. More... | |
| void | renderDrawData (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()
| default |
Definition at line 26 of file ImGuiBackend.ixx.
Public Destructor
~ImGuiBackend()
| virtual default |
Definition at line 28 of file ImGuiBackend.ixx.
Public Member Functions
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()
|
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.