24 lines
484 B
C++
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
|