#include <DescriptorManager.h>
◆ SingleTypeCacheKey
◆ CDescriptorManager()
Renderer::Backend::Vulkan::CDescriptorManager::CDescriptorManager |
( |
CDevice * |
device, |
|
|
const bool |
useDescriptorIndexing |
|
) |
| |
◆ ~CDescriptorManager()
Renderer::Backend::Vulkan::CDescriptorManager::~CDescriptorManager |
( |
| ) |
|
◆ GetDescriptorIndexingSet()
const VkDescriptorSet & Renderer::Backend::Vulkan::CDescriptorManager::GetDescriptorIndexingSet |
( |
| ) |
|
|
inline |
◆ GetDescriptorIndexingSetLayout()
const VkDescriptorSetLayout & Renderer::Backend::Vulkan::CDescriptorManager::GetDescriptorIndexingSetLayout |
( |
| ) |
const |
|
inline |
◆ GetDescriptorSetLayouts()
const std::vector< VkDescriptorSetLayout > & Renderer::Backend::Vulkan::CDescriptorManager::GetDescriptorSetLayouts |
( |
| ) |
const |
|
inline |
◆ GetSingleTypeDescritorSet()
VkDescriptorSet Renderer::Backend::Vulkan::CDescriptorManager::GetSingleTypeDescritorSet |
( |
VkDescriptorType |
type, |
|
|
VkDescriptorSetLayout |
layout, |
|
|
const std::vector< DeviceObjectUID > & |
texturesUID, |
|
|
const std::vector< CTexture * > & |
textures |
|
) |
| |
◆ GetSingleTypeDescritorSetImpl()
std::pair< VkDescriptorSet, bool > Renderer::Backend::Vulkan::CDescriptorManager::GetSingleTypeDescritorSetImpl |
( |
VkDescriptorType |
type, |
|
|
VkDescriptorSetLayout |
layout, |
|
|
const std::vector< DeviceObjectUID > & |
uids |
|
) |
| |
|
private |
◆ GetSingleTypeDescritorSetLayout()
VkDescriptorSetLayout Renderer::Backend::Vulkan::CDescriptorManager::GetSingleTypeDescritorSetLayout |
( |
VkDescriptorType |
type, |
|
|
const uint32_t |
size |
|
) |
| |
- Returns
- a single type descriptor set layout with the number of bindings equals to the size. The returned layout is owned by the manager.
◆ GetSingleTypePool()
◆ GetTextureDescriptor()
uint32_t Renderer::Backend::Vulkan::CDescriptorManager::GetTextureDescriptor |
( |
CTexture * |
texture | ) |
|
◆ GetUniformDescriptorSetLayout()
const VkDescriptorSetLayout & Renderer::Backend::Vulkan::CDescriptorManager::GetUniformDescriptorSetLayout |
( |
| ) |
const |
|
inline |
◆ GetUniformSet()
uint32_t Renderer::Backend::Vulkan::CDescriptorManager::GetUniformSet |
( |
| ) |
const |
◆ OnTextureDestroy()
void Renderer::Backend::Vulkan::CDescriptorManager::OnTextureDestroy |
( |
const DeviceObjectUID |
uid | ) |
|
◆ UseDescriptorIndexing()
bool Renderer::Backend::Vulkan::CDescriptorManager::UseDescriptorIndexing |
( |
| ) |
const |
|
inline |
◆ DESCRIPTOR_INDEXING_BINDING_SIZE
constexpr uint32_t Renderer::Backend::Vulkan::CDescriptorManager::DESCRIPTOR_INDEXING_BINDING_SIZE = 16384 |
|
staticconstexprprivate |
◆ m_DescriptorIndexingBindings
◆ m_DescriptorIndexingPool
VkDescriptorPool Renderer::Backend::Vulkan::CDescriptorManager::m_DescriptorIndexingPool = VK_NULL_HANDLE |
|
private |
◆ m_DescriptorIndexingSet
VkDescriptorSet Renderer::Backend::Vulkan::CDescriptorManager::m_DescriptorIndexingSet = VK_NULL_HANDLE |
|
private |
◆ m_DescriptorIndexingSetLayout
VkDescriptorSetLayout Renderer::Backend::Vulkan::CDescriptorManager::m_DescriptorIndexingSetLayout = VK_NULL_HANDLE |
|
private |
◆ m_DescriptorSetLayouts
std::vector<VkDescriptorSetLayout> Renderer::Backend::Vulkan::CDescriptorManager::m_DescriptorSetLayouts |
|
private |
◆ m_Device
CDevice* Renderer::Backend::Vulkan::CDescriptorManager::m_Device = nullptr |
|
private |
◆ m_ErrorTexture
std::unique_ptr<ITexture> Renderer::Backend::Vulkan::CDescriptorManager::m_ErrorTexture |
|
private |
◆ m_SingleTypePools
std::unordered_map<VkDescriptorType, std::vector<SingleTypePool> > Renderer::Backend::Vulkan::CDescriptorManager::m_SingleTypePools |
|
private |
◆ m_SingleTypeSets
◆ m_TextureToBindingMap
◆ m_UIDToSingleTypePoolMap
◆ m_UniformDescriptorSetLayout
VkDescriptorSetLayout Renderer::Backend::Vulkan::CDescriptorManager::m_UniformDescriptorSetLayout = VK_NULL_HANDLE |
|
private |
◆ m_UseDescriptorIndexing
bool Renderer::Backend::Vulkan::CDescriptorManager::m_UseDescriptorIndexing = false |
|
private |
◆ NUMBER_OF_BINDINGS_PER_DESCRIPTOR_INDEXING_SET
constexpr uint32_t Renderer::Backend::Vulkan::CDescriptorManager::NUMBER_OF_BINDINGS_PER_DESCRIPTOR_INDEXING_SET = 3 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: