#include <Descriptors.hpp>
Public Member Functions | |
Builder (Device &device) | |
Builder & | addPoolSize (VkDescriptorType descriptorType, uint32_t count) |
Builder & | setPoolFlags (VkDescriptorPoolCreateFlags flags) |
Builder & | setMaxSets (uint32_t count) |
std::unique_ptr< DescriptorPool > | build () const |
Private Attributes | |
Device & | m_device |
std::vector< VkDescriptorPoolSize > | m_poolSizes |
uint32_t | m_maxSets = 1000 |
VkDescriptorPoolCreateFlags | m_poolFlags = 0 |
Definition at line 65 of file Descriptors.hpp.
|
inlineexplicit |
Definition at line 69 of file Descriptors.hpp.
ven::DescriptorPool::Builder & ven::DescriptorPool::Builder::addPoolSize | ( | VkDescriptorType | descriptorType, |
uint32_t | count ) |
Definition at line 39 of file descriptors.cpp.
Referenced by ven::Engine::Engine().
|
inlinenodiscard |
Definition at line 74 of file Descriptors.hpp.
References m_device, m_maxSets, m_poolFlags, and m_poolSizes.
Referenced by ven::Engine::Engine().
ven::DescriptorPool::Builder & ven::DescriptorPool::Builder::setMaxSets | ( | uint32_t | count | ) |
Definition at line 50 of file descriptors.cpp.
Referenced by ven::Engine::Engine().
ven::DescriptorPool::Builder & ven::DescriptorPool::Builder::setPoolFlags | ( | VkDescriptorPoolCreateFlags | flags | ) |
Definition at line 45 of file descriptors.cpp.
|
private |
Definition at line 78 of file Descriptors.hpp.
Referenced by build().
|
private |
Definition at line 80 of file Descriptors.hpp.
Referenced by build().
|
private |
Definition at line 81 of file Descriptors.hpp.
Referenced by build().
|
private |
Definition at line 79 of file Descriptors.hpp.
Referenced by build().