35 static constexpr uint32_t POOL_SIZE_STORAGE_BUFFER = 1000;
36 static constexpr uint32_t POOL_SIZE_DESCRIPTOR_SETS = 250;
37 static constexpr uint32_t POOL_SIZE_STORAGE_IMAGE = 250;
38 static constexpr uint32_t POOL_SIZE_COMBINED_IMAGE_SAMPLER = 250;
39 static constexpr uint32_t POOL_SIZE_UNIFORM_BUFFER = 500;
40 static constexpr uint32_t POOL_SIZE_UNIFORM_TEXEL_BUFFER = 100;
41 static constexpr uint32_t POOL_SIZE_INPUT_ATTACHMENT = 100;
52 VkDescriptorSet
allocate(
const VkDescriptorSetLayout descriptor_set_layout);
63 VkDescriptorPool active_pool_get();
64 void activate_next_pool();
65 void activate_last_pool();
66 bool is_last_pool_active();
67 void add_new_pool(
const VKDevice &device);