Foundation
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Foundation::RHI::VulkanDeviceDescriptorPool Class Reference

#include <Descriptor.hpp>

Inheritance diagram for Foundation::RHI::VulkanDeviceDescriptorPool:
Foundation::RHI::RHIDeviceDescriptorPool Foundation::RHI::RHIObject

Public Member Functions

 VulkanDeviceDescriptorPool (const VulkanDevice &device, PoolDesc const &desc)
 
RHIDeviceDescriptorPoolScopedHandle< RHIDeviceDescriptorSetCreateDescriptorSet (RHIDeviceObjectHandle< RHIDeviceDescriptorSetLayout > layout, uint32_t max_variable_count) override
 Create a descriptor set from this pool.
 
RHIDeviceDescriptorSetGetDescriptorSet (Handle handle) const override
 
void DestroyDescriptorSet (Handle handle) override
 
auto constGetDevice () const
 
auto constGetVkDescriptorPool () const
 
void DebugSetObjectName (const char *name) override
 
- Public Member Functions inherited from Foundation::RHI::RHIDeviceDescriptorPool
 RHIDeviceDescriptorPool (RHIDevice const &device, PoolDesc const &desc)
 
- Public Member Functions inherited from Foundation::RHI::RHIObject
 RHIObject ()=default
 
 RHIObject (RHIObject const &)=delete
 
RHIObjectoperator= (const RHIObject &)=delete
 
 RHIObject (RHIObject &&)=delete
 
RHIObjectoperator= (RHIObject &&)=delete
 
virtual ~RHIObject ()=default
 

Private Attributes

const VulkanDevicemDevice
 
vk::raii::DescriptorPool mPool { nullptr }
 
RHIObjectPool mStorage
 

Additional Inherited Members

- Public Attributes inherited from Foundation::RHI::RHIDeviceDescriptorPool
struct Foundation::RHI::RHIDeviceDescriptorPool::PoolDesc mDesc
 
- Protected Attributes inherited from Foundation::RHI::RHIDeviceDescriptorPool
const RHIDevicemDevice
 

Constructor & Destructor Documentation

◆ VulkanDeviceDescriptorPool()

VulkanDeviceDescriptorPool::VulkanDeviceDescriptorPool ( const VulkanDevice device,
PoolDesc const desc 
)

Member Function Documentation

◆ CreateDescriptorSet()

RHIDeviceDescriptorPoolScopedHandle< RHIDeviceDescriptorSet > VulkanDeviceDescriptorPool::CreateDescriptorSet ( RHIDeviceObjectHandle< RHIDeviceDescriptorSetLayout layout,
uint32_t  max_variable_count 
)
overridevirtual

Create a descriptor set from this pool.

Parameters
layoutThe layout the descriptor set should conform to.
max_variable_countMaximum number of variable number of descriptors. Set to 0 if the layout does not have any variable count bindings.

Implements Foundation::RHI::RHIDeviceDescriptorPool.

◆ DebugSetObjectName()

void VulkanDeviceDescriptorPool::DebugSetObjectName ( const char name)
overridevirtual

◆ DestroyDescriptorSet()

void VulkanDeviceDescriptorPool::DestroyDescriptorSet ( Handle  handle)
overridevirtual

◆ GetDescriptorSet()

RHIDeviceDescriptorSet * VulkanDeviceDescriptorPool::GetDescriptorSet ( Handle  handle) const
overridevirtual

◆ GetDevice()

auto const & Foundation::RHI::VulkanDeviceDescriptorPool::GetDevice ( ) const
inline

◆ GetVkDescriptorPool()

auto const & Foundation::RHI::VulkanDeviceDescriptorPool::GetVkDescriptorPool ( ) const
inline

Member Data Documentation

◆ mDevice

const VulkanDevice& Foundation::RHI::VulkanDeviceDescriptorPool::mDevice
private

◆ mPool

vk::raii::DescriptorPool Foundation::RHI::VulkanDeviceDescriptorPool::mPool { nullptr }
private

◆ mStorage

RHIObjectPool Foundation::RHI::VulkanDeviceDescriptorPool::mStorage
private

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