18 commandPool._commandPool = VK_NULL_HANDLE;
19 commandPool._device =
nullptr;
20 commandPool._queue =
nullptr;
30 commandPool._commandPool = VK_NULL_HANDLE;
31 commandPool._device =
nullptr;
32 commandPool._queue =
nullptr;
42 VkResult result = vkResetCommandPool(static_cast<VkDevice>(*
_device),
_commandPool, releaseRessources ? VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT : 0);
44 if (result != VK_SUCCESS) {
45 LUG_LOG.error(
"CommandPool: Can't reset the pool: {}", result);
CommandPool & operator=(const CommandPool &)=delete
VkCommandPool _commandPool
bool reset(bool releaseRessources=false) const