Files
sophia/engine/src/imgui_renderer.hpp
T
2026-09-15 02:23:22 -07:00

24 lines
484 B
C++

#pragma once
#include <sophia/types.hpp>
#include "device.hpp"
#include "window.hpp"
namespace sophia {
class ImGuiRenderer {
public:
ImGuiRenderer(const ImGuiRenderer&) = delete;
ImGuiRenderer& operator=(const ImGuiRenderer&) = delete;
ImGuiRenderer(Window& window, Device& device,
vk::Format colorAttachmentFormat, u32 minImageCount);
~ImGuiRenderer();
void beginFrame();
void endFrame(vk::CommandBuffer commandBuffer);
};
} // namespace sophia