15#include <vsg/state/DescriptorSet.h>
29 Device* getDevice() {
return _device; }
30 const Device* getDevice()
const {
return _device; }
53 DescriptorPoolSizes _availableDescriptorPoolSizes;
55 std::list<ref_ptr<DescriptorSet::Implementation>> _recyclingList;
DescriptorPool encapsulates management of VkDescriptorPool.
Definition DescriptorPool.h:22
ref_ptr< DescriptorSet::Implementation > allocateDescriptorSet(DescriptorSetLayout *descriptorSetLayout)
allocate or reuse available DescriptorSet::Implementation - called automatically when compiling Descr...
void freeDescriptorSet(ref_ptr< DescriptorSet::Implementation > dsi)
free DescriptorSet::Implementation for reuse - called automatically by destruction of DescriptorSet o...
bool getAvailability(uint32_t &maxSets, DescriptorPoolSizes &descriptorPoolSizes) const
get the stats of the available DescriptorSets/Descriptors
std::mutex mutex
Definition DescriptorPool.h:44
DescriptorSetLayout encapsulates VkDescriptorSetLayout and VkDescriptorSetLayoutCreateInfo settings u...
Definition DescriptorSetLayout.h:28
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
Definition Device.h:37
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138