Destructor Function.
210 {
212
214
216 {
218
219 if (pool)
220 {
222 pool = nullptr;
223 }
224 }
225
227 {
229
230 if (pool)
231 {
233 pool = nullptr;
234 }
235 }
236 }
#define SPICES_PROFILE_ZONE
int m_GraphicThreadId
Thread Unique Graphic ThreadId.
int m_ComputeThreadId
Thread Unique Compute ThreadId.
static VkCommandPool & GetThreadComputeCommandPool()
Get Thread Compute VkCommandPool by thread id.
static bool m_IsPoolActive
True if this Pool is actived.
static VkCommandPool & GetThreadGraphicCommandPool()
Get Thread Graphic VkCommandPool by thread id.
static VulkanState & GetState()
Get VulkanState in use.