Finality Engine
Loading...
Searching...
No Matches
VKImGUIRenderer.h
Go to the documentation of this file.
1
6#pragma once
7#include <Vulkan/VKCore.h>
8
10#include <Core/Framebuffer.h>
11
12namespace FINALITY
13{
16 {
17 public:
19 : ImGUIRenderer(spec, device) {}
21
22 void Destroy() override;
23 void Update() override;
24 void Initialize() override;
25
26 VkCommandBuffer PrepareCommandBuffer(int image);
27 VkDescriptorPool GetDescriptorPool() const { return m_DescriptorPool; }
28 private:
29 void CreateDescriptorPool();
30
31 std::vector<VkCommandBuffer> m_CMDBufs;
32 VkDescriptorPool m_DescriptorPool = VK_NULL_HANDLE;
33 };
34}
ImGUIRenderer(WindowSpec spec, RenderDevice *device)
Defines the graphics backend boundary and render submission contract.
void Destroy() override
VkCommandBuffer PrepareCommandBuffer(int image)
void Initialize() override
VKImGUIRenderer(WindowSpec spec, RenderDevice *device)
VkDescriptorPool GetDescriptorPool() const
void Update() override