30 void setFlags(VkDescriptorPoolCreateFlags flags);
32 void setPoolSizes(
const std::vector<VkDescriptorPoolSize>& poolSizes);
36 std::unique_ptr<API::DescriptorPool>
build(VkResult* returnResult =
nullptr);
41 VkDescriptorPoolCreateFlags
_flags{VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT};
bool build(API::DescriptorPool &instance, VkResult *returnResult=nullptr)
void setFlags(VkDescriptorPoolCreateFlags flags)
const API::Device & _device
VkDescriptorPoolCreateFlags _flags
~DescriptorPool()=default
DescriptorPool & operator=(const DescriptorPool &)=delete
void setMaxSets(uint32_t maxSets)
DescriptorPool(const API::Device &device)
std::vector< VkDescriptorPoolSize > _poolSizes
void setPoolSizes(const std::vector< VkDescriptorPoolSize > &poolSizes)