Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ImGuiRuntimeRenderer.h File Reference

donner::editor::ImGuiRuntimeRenderer - draws UI draw data through the GPU runtime. More...

#include <cstdint>
#include <memory>
#include <vector>
#include "donner/editor/ImGuiIncludes.h"
#include "donner/editor/gui/UiTextureRegistry.h"
#include "donner/gpu/Descriptors.h"
#include "donner/gpu/GpuResult.h"
#include "donner/gpu/Handles.h"
Include dependency graph for ImGuiRuntimeRenderer.h:

Classes

class  donner::editor::ImGuiRuntimeRenderer
 Draws one frame of UI draw data through donner::gpu. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

ImGuiRuntimeRenderer * donner::editor::CurrentImGuiRuntimeRenderer ()
 Returns the renderer installed on the current ImGui context, or null when the UI is not drawing through the GPU runtime, which is the case for the desktop build that still presents through OpenGL.
UiTextureRegistry * donner::editor::CurrentUiTextureRegistry ()
 Returns the texture registry of the renderer installed on the current ImGui context, or null when there is none.

Detailed Description

donner::editor::ImGuiRuntimeRenderer - draws UI draw data through the GPU runtime.

Function Documentation

◆ CurrentUiTextureRegistry()

UiTextureRegistry * donner::editor::CurrentUiTextureRegistry ( )

Returns the texture registry of the renderer installed on the current ImGui context, or null when there is none.

UI code registers the textures it wants drawn through this.