Diligent Engine  v.2.4.g
Public Member Functions | Friends | List of all members
Diligent::DescriptorSetAllocator Class Reference

#include <DescriptorPoolManager.hpp>

Inheritance diagram for Diligent::DescriptorSetAllocator:
Diligent::DescriptorPoolManager

Public Member Functions

 DescriptorSetAllocator (RenderDeviceVkImpl &DeviceVkImpl, std::string PoolName, std::vector< VkDescriptorPoolSize > PoolSizes, uint32_t MaxSets, bool AllowFreeing) noexcept
 
 ~DescriptorSetAllocator ()
 
DescriptorSetAllocation Allocate (Uint64 CommandQueueMask, VkDescriptorSetLayout SetLayout, const char *DebugName="")
 
- Public Member Functions inherited from Diligent::DescriptorPoolManager
 DescriptorPoolManager (RenderDeviceVkImpl &DeviceVkImpl, std::string PoolName, std::vector< VkDescriptorPoolSize > PoolSizes, uint32_t MaxSets, bool AllowFreeing) noexcept
 
 ~DescriptorPoolManager ()
 
 DescriptorPoolManager (const DescriptorPoolManager &)=delete
 
DescriptorPoolManageroperator= (const DescriptorPoolManager &)=delete
 
 DescriptorPoolManager (DescriptorPoolManager &&)=delete
 
DescriptorPoolManageroperator= (DescriptorPoolManager &&)=delete
 
VulkanUtilities::DescriptorPoolWrapper GetPool (const char *DebugName)
 
void DisposePool (VulkanUtilities::DescriptorPoolWrapper &&Pool, Uint64 QueueMask)
 
RenderDeviceVkImplGetDeviceVkImpl ()
 

Friends

class DescriptorSetAllocation
 

Additional Inherited Members

- Protected Member Functions inherited from Diligent::DescriptorPoolManager
VulkanUtilities::DescriptorPoolWrapper CreateDescriptorPool (const char *DebugName) const
 
- Protected Attributes inherited from Diligent::DescriptorPoolManager
RenderDeviceVkImplm_DeviceVkImpl
 
const std::string m_PoolName
 
const std::vector< VkDescriptorPoolSize > m_PoolSizes
 
const uint32_t m_MaxSets
 
const bool m_AllowFreeing
 
std::mutex m_Mutex
 
std::deque< VulkanUtilities::DescriptorPoolWrapperm_Pools
 

Constructor & Destructor Documentation

◆ DescriptorSetAllocator()

Diligent::DescriptorSetAllocator::DescriptorSetAllocator ( RenderDeviceVkImpl DeviceVkImpl,
std::string  PoolName,
std::vector< VkDescriptorPoolSize >  PoolSizes,
uint32_t  MaxSets,
bool  AllowFreeing 
)
inlinenoexcept

◆ ~DescriptorSetAllocator()

Diligent::DescriptorSetAllocator::~DescriptorSetAllocator ( )

Member Function Documentation

◆ Allocate()

DescriptorSetAllocation Diligent::DescriptorSetAllocator::Allocate ( Uint64  CommandQueueMask,
VkDescriptorSetLayout  SetLayout,
const char *  DebugName = "" 
)

Friends And Related Function Documentation

◆ DescriptorSetAllocation

friend class DescriptorSetAllocation
friend

The documentation for this class was generated from the following files: