Destructor Function.
Destroy the Vulkan CommandPool Object.
Destroy the Vulkan CommandPool Object.
56 {
58
60
65 {
66 if (pool)
67 {
69 pool = nullptr;
70 }
71 }
72
74 {
75 if (pool)
76 {
78 pool = nullptr;
79 }
80 }
81 }
#define SPICES_PROFILE_ZONE
static std::vector< VkCommandPool > m_ThreadGraphicCommandPool
Thread Graphic VkCommandPool map.
static bool m_IsPoolActive
True if this Pool is actived.
static std::vector< VkCommandPool > m_ThreadComputeCommandPool
Thread Compute VkCommandPool map.
VulkanState & m_VulkanState
The global VulkanState Referenced from VulkanRenderBackend.