Engine » ImGui integration module

Initializes and configures ImGui for Cubos.

Resources

  • DataInspector - used to inspect/modify objects via UI.

Dependencies

Files

file context.hpp
Resource cubos::engine::ImGuiContextHolder.
file inspector.hpp
System argument cubos::engine::ImGuiInspector.
file plugin.hpp
Plugin entry point.
file target.hpp
Component cubos::engine::ImGuiTarget.

Classes

struct cubos::engine::ImGuiContextHolder
Resource which stores a pointer to the ImGui context created by the ImGui plugin.
class cubos::engine::ImGuiInspector
System argument which allows the user to show or edit any reflectable value through ImGui.
struct cubos::engine::ImGuiTarget
Component used to indicate that the ImGui frame should be rendered to a given RenderTarget.

Functions

auto imguiPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Function documentation

CUBOS_ENGINE_API void imguiPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class