◆ 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 |
◆ m_DescriptorSetLayouts
Contains all the descriptor set layout descriptions that were requested by the user in calls of createDescriptorSetLayout.
Referenced by destroyDescriptorSetLayoutById().
◆ m_DescriptorSets
std::vector<DescriptorSet> vkcv::DescriptorManager::m_DescriptorSets |
|
private |
Contains all the descriptor sets that were created by the user in calls of createDescriptorSet.
Referenced by destroyDescriptorSetById().
The documentation for this class was generated from the following files: