Class for descriptor pool. More...
#include <Pool.hpp>
Collaboration diagram for ven::DescriptorPool:Classes | |
| class | Builder |
Public Member Functions | |
| DescriptorPool (Device &device, uint32_t maxSets, VkDescriptorPoolCreateFlags poolFlags, const std::vector< VkDescriptorPoolSize > &poolSizes) | |
| ~DescriptorPool () | |
| DescriptorPool (const DescriptorPool &)=delete | |
| DescriptorPool & | operator= (const DescriptorPool &)=delete |
| DescriptorPool (DescriptorPool &&)=delete | |
| DescriptorPool & | operator= (DescriptorPool &&)=delete |
| bool | allocateDescriptor (VkDescriptorSetLayout descriptorSetLayout, VkDescriptorSet &descriptor) const |
| void | freeDescriptors (const std::vector< VkDescriptorSet > &descriptors) const |
| void | resetPool () const |
| VkDescriptorPool | getDescriptorPool () const |
Private Attributes | |
| Device & | m_device |
| VkDescriptorPool | m_descriptorPool |
Friends | |
| class | DescriptorWriter |
| ven::DescriptorPool::DescriptorPool | ( | Device & | device, |
| uint32_t | maxSets, | ||
| VkDescriptorPoolCreateFlags | poolFlags, | ||
| const std::vector< VkDescriptorPoolSize > & | poolSizes ) |
Definition at line 5 of file pool.cpp.
References ven::Device::device(), m_descriptorPool, and m_device.
Here is the call graph for this function:
|
inline |
Definition at line 48 of file Pool.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
Here is the call graph for this function:
|
delete |
|
delete |
| bool ven::DescriptorPool::allocateDescriptor | ( | VkDescriptorSetLayout | descriptorSetLayout, |
| VkDescriptorSet & | descriptor ) const |
|
inline |
Definition at line 56 of file Pool.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
Here is the call graph for this function:
|
inlinenodiscard |
Definition at line 59 of file Pool.hpp.
References m_descriptorPool.
|
delete |
|
delete |
|
inline |
Definition at line 57 of file Pool.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
Here is the call graph for this function:
|
friend |
|
private |
Definition at line 64 of file Pool.hpp.
Referenced by DescriptorPool(), freeDescriptors(), getDescriptorPool(), resetPool(), and ~DescriptorPool().
|
private |
Definition at line 63 of file Pool.hpp.
Referenced by DescriptorPool(), freeDescriptors(), resetPool(), and ~DescriptorPool().