![]() |
Raven Engine v0.1
|
Interface for ImGui rendering backend implementations. More...
#include <ImGuiRenderer.h>
Public Member Functions | |
| virtual | ~ImGuiRenderer ()=default |
| virtual void | Init ()=0 |
| Initializes ImGui rendering resources and context. | |
| virtual void | Begin ()=0 |
| Begins a new ImGui frame. Should be called before any ImGui draw calls. | |
| virtual void | End ()=0 |
| Ends the current ImGui frame and submits draw commands to the GPU. | |
| virtual void | Shutdown ()=0 |
| Cleans up ImGui resources and shuts down the renderer. | |
Static Public Member Functions | |
| static Scope< ImGuiRenderer > | Create (const Ref< RenderPass > &renderPass) |
| Factory method to create a platform and backend-specific ImGuiRenderer instance. | |
Interface for ImGui rendering backend implementations.
Manages ImGui context initialization, frame lifecycle, rendering submission, and resource cleanup.
Backend implementations must provide concrete definitions for lifecycle methods.
|
virtualdefault |
|
pure virtual |
Begins a new ImGui frame. Should be called before any ImGui draw calls.
Implemented in Raven::VulkanImGuiRenderer.
|
static |
Factory method to create a platform and backend-specific ImGuiRenderer instance.
| renderPass | RenderPass reference for ImGui's rendering setup. |
|
pure virtual |
Ends the current ImGui frame and submits draw commands to the GPU.
Implemented in Raven::VulkanImGuiRenderer.
|
pure virtual |
Initializes ImGui rendering resources and context.
Implemented in Raven::VulkanImGuiRenderer.
|
pure virtual |
Cleans up ImGui resources and shuts down the renderer.
Implemented in Raven::VulkanImGuiRenderer.