Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/include/graphics/vulkan/vk_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ class VulkanEngine {
VmaMemoryUsage memoryUsage) const;

private:
struct Imgui {
void init(const VkDevice& dev, SDL_Window* w,
const VkInstance& pInstance, const VkPhysicalDevice& physicalDevice,
const VkQueue& queue, const VkFormat* format);
~Imgui();
private:
void initImguiPool();
VkDevice _device{VK_NULL_HANDLE};
VkDescriptorPool _imguiPool{VK_NULL_HANDLE};
};
Imgui _imgui;
// Smart pointer collections for automatic cleanup
std::vector<std::unique_ptr<VulkanBuffer>> _managedBuffers;
std::vector<std::unique_ptr<VulkanImage>> _managedImages;
Expand Down
Loading