◆ DescriptorManager()
vkcv::DescriptorManager::DescriptorManager |
( |
vk::Device |
device | ) |
|
|
explicitnoexcept |
Allocate the set size for the descriptor pools, namely 1000 units of each descriptor type below. Finally, create an initial pool.
◆ allocateDescriptorPool()
vk::DescriptorPool vkcv::DescriptorManager::allocateDescriptorPool |
( |
| ) |
|
|
private |
creates a descriptor pool based on the poolSizes and poolInfo defined in the constructor is called initially in the constructor and then every time the pool runs out memory
- Returns
- a DescriptorPool object
◆ destroyDescriptorSetById()
void vkcv::DescriptorManager::destroyDescriptorSetById |
( |
uint64_t |
id | ) |
|
|
private |
◆ destroyDescriptorSetLayoutById()
void vkcv::DescriptorManager::destroyDescriptorSetLayoutById |
( |
uint64_t |
id | ) |
|
|
private |
Destroys a specific descriptor set LAYOUT (not the set)
- Parameters
-
References m_DescriptorSets.
◆ m_DescriptorSetLayouts
Contains all the descriptor set layout descriptions that were requested by the user in calls of createDescriptorSetLayout.
◆ m_DescriptorSets
std::vector<DescriptorSet> vkcv::DescriptorManager::m_DescriptorSets |
|
private |
The documentation for this class was generated from the following files: