Interface for ImGui rendering backend implementations. More...
#include <ImGuiRenderer.h>
Inherits Raven::RefCounted.
Inherited by Raven::VulkanImGuiRenderer.
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. | |
| virtual ImGuiContext * | GetContext ()=0 |
| Public Member Functions inherited from Raven::RefCounted | |
| RefCounted () | |
| virtual | ~RefCounted () |
| void | IncRefCount () |
| void | DecRefCount () |
| u32 | GetRefCount () const |
Static Public Member Functions | |
| static Ref< ImGuiRenderer > | Create (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 |
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.