3#include <vulkan/vulkan.h>
5#include "ImguiRenderer.hpp"
7namespace Grindstone::GraphicsAPI {
8 class WindowGraphicsBinding;
11namespace Grindstone::GraphicsAPI::Vulkan {
15namespace Grindstone::Editor::ImguiEditor {
22 virtual bool PreRender()
override;
23 virtual void PrepareImguiRendering()
override;
24 virtual void PostRender()
override;
25 virtual void Resize()
override;
26 virtual ImTextureID CreateTexture(std::filesystem::path path)
override;
28 void WaitForResizeAndRecreateSwapchain();
29 void SetupVulkanWindow(
36 void CreateOrResizeWindow(
42 VkDescriptorPool imguiPool =
nullptr;
43 std::vector<GraphicsAPI::CommandBuffer*> commandBuffers;
45 bool shouldRebuildSwapchain =
false;
Definition ImguiRendererVulkan.hpp:16
Definition ImguiRenderer.hpp:12
Definition CommandBuffer.hpp:21
Definition VulkanCore.hpp:31
Definition WindowGraphicsBinding.hpp:16