30 void setFlags(VkCommandPoolCreateFlags flags);
34 std::unique_ptr<API::CommandPool>
build(VkResult* returnResult =
nullptr);
40 VkCommandPoolCreateFlags
_flags{VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT};
const API::QueueFamily & _queueFamily
bool build(API::CommandPool &instance, VkResult *returnResult=nullptr)
const API::Device & _device
void setFlags(VkCommandPoolCreateFlags flags)
CommandPool & operator=(const CommandPool &)=delete
VkCommandPoolCreateFlags _flags
CommandPool(const API::Device &device, const API::QueueFamily &queueFamily)