Go to the documentation of this file.
45 uint32_t queueFamilyIndex,
46 VkCommandPoolCreateFlags flags) noexcept;
62 #ifdef DILIGENT_DEVELOPMENT
63 int32_t GetAllocatedPoolCount()
const
65 return m_AllocatedPoolCounter;
75 const std::string m_Name;
76 const uint32_t m_QueueFamilyIndex;
77 const VkCommandPoolCreateFlags m_CmdPoolFlags;
80 std::deque<VulkanUtilities::CommandPoolWrapper, STDAllocatorRawMem<VulkanUtilities::CommandPoolWrapper>> m_CmdPools;
82 #ifdef DILIGENT_DEVELOPMENT
83 std::atomic_int32_t m_AllocatedPoolCounter{0};
CommandPoolManager & operator=(const CommandPoolManager &)=delete
Definition: VulkanLogicalDevice.hpp:88
Definition: CommandPoolManager.hpp:40
void RecycleCommandPool(VulkanUtilities::CommandPoolWrapper &&CmdPool)
Definition: CommandPoolManager.cpp:81
CommandPoolManager(const VulkanUtilities::VulkanLogicalDevice &LogicalDevice, std::string Name, uint32_t queueFamilyIndex, VkCommandPoolCreateFlags flags) noexcept
Definition: CommandPoolManager.cpp:35
VulkanUtilities::CommandPoolWrapper AllocateCommandPool(const char *DebugName=nullptr)
Definition: CommandPoolManager.cpp:49
~CommandPoolManager()
Definition: CommandPoolManager.cpp:98
DEFINE_VULKAN_OBJECT_WRAPPER(CommandPool) CommandPoolWrapper
Definition: VulkanLogicalDevice.hpp:68
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
void DestroyPools()
Definition: CommandPoolManager.cpp:90