#include <SetLayout.hpp>
Public Member Functions | |
Builder (Device &device) | |
Builder & | addBinding (uint32_t binding, VkDescriptorType descriptorType, VkShaderStageFlags stageFlags, uint32_t count=1) |
std::unique_ptr< DescriptorSetLayout > | build () const |
Private Attributes | |
Device & | m_device |
std::unordered_map< uint32_t, VkDescriptorSetLayoutBinding > | m_bindings |
Definition at line 25 of file SetLayout.hpp.
|
inlineexplicit |
Definition at line 29 of file SetLayout.hpp.
ven::DescriptorSetLayout::Builder & ven::DescriptorSetLayout::Builder::addBinding | ( | uint32_t | binding, |
VkDescriptorType | descriptorType, | ||
VkShaderStageFlags | stageFlags, | ||
uint32_t | count = 1 ) |
Definition at line 5 of file setLayout.cpp.
References m_bindings.
Referenced by ven::ARenderSystemBase::createPipelineLayout().
|
inline |
Definition at line 32 of file SetLayout.hpp.
References m_bindings, and m_device.
Referenced by ven::ARenderSystemBase::createPipelineLayout().
|
private |
Definition at line 37 of file SetLayout.hpp.
Referenced by addBinding(), and build().
|
private |
Definition at line 36 of file SetLayout.hpp.
Referenced by build().