Class for descriptor pool. More...
#include <Descriptors.hpp>
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 |
bool | allocateDescriptor (VkDescriptorSetLayout descriptorSetLayout, VkDescriptorSet &descriptor) const |
void | freeDescriptors (const std::vector< VkDescriptorSet > &descriptors) const |
void | resetPool () const |
Private Attributes | |
Device & | m_device |
VkDescriptorPool | m_descriptorPool |
Friends | |
class | DescriptorWriter |
Class for descriptor pool.
Definition at line 61 of file Descriptors.hpp.
ven::DescriptorPool::DescriptorPool | ( | Device & | device, |
uint32_t | maxSets, | ||
VkDescriptorPoolCreateFlags | poolFlags, | ||
const std::vector< VkDescriptorPoolSize > & | poolSizes ) |
Definition at line 56 of file descriptors.cpp.
References ven::Device::device(), m_descriptorPool, and m_device.
|
inline |
Definition at line 85 of file Descriptors.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
|
delete |
bool ven::DescriptorPool::allocateDescriptor | ( | VkDescriptorSetLayout | descriptorSetLayout, |
VkDescriptorSet & | descriptor ) const |
Definition at line 71 of file descriptors.cpp.
|
inline |
Definition at line 91 of file Descriptors.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
|
delete |
|
inline |
Definition at line 93 of file Descriptors.hpp.
References ven::Device::device(), m_descriptorPool, and m_device.
|
friend |
Definition at line 100 of file Descriptors.hpp.
|
private |
Definition at line 98 of file Descriptors.hpp.
Referenced by DescriptorPool(), freeDescriptors(), resetPool(), and ~DescriptorPool().
|
private |
Definition at line 97 of file Descriptors.hpp.
Referenced by DescriptorPool(), freeDescriptors(), resetPool(), and ~DescriptorPool().