#pragma once #include #include class Instance; class CommandPool { public: explicit CommandPool(); ~CommandPool(); VkCommandBuffer graphicsBuffer = VK_NULL_HANDLE; VkCommandBuffer computeBuffer = VK_NULL_HANDLE; VkCommandPool handle = VK_NULL_HANDLE; private: void createBuffers(); };