Lugdunum  0.1.0
Public Member Functions | Private Attributes | List of all members
lug::Graphics::Vulkan::API::Builder::DescriptorSet Class Reference

#include <DescriptorSet.hpp>

Collaboration diagram for lug::Graphics::Vulkan::API::Builder::DescriptorSet:
[legend]

Public Member Functions

 DescriptorSet (const API::Device &device, const API::DescriptorPool &descriptorPool)
 
 DescriptorSet (const DescriptorSet &)=delete
 
 DescriptorSet (DescriptorSet &&)=delete
 
DescriptorSetoperator= (const DescriptorSet &)=delete
 
DescriptorSetoperator= (DescriptorSet &&)=delete
 
 ~DescriptorSet ()=default
 
void setDescriptorSetLayouts (const std::vector< VkDescriptorSetLayout > &descriptorSetLayouts)
 
bool build (API::DescriptorSet &instance, VkResult *returnResult=nullptr)
 
std::unique_ptr< API::DescriptorSetbuild (VkResult *returnResult=nullptr)
 
bool build (std::vector< API::DescriptorSet > &descriptorSets, VkResult *returnResult=nullptr)
 
std::vector< std::unique_ptr< API::DescriptorSet > > build (uint32_t count, VkResult *returnResult=nullptr)
 

Private Attributes

const API::Device_device
 
const API::DescriptorPool_descriptorPool
 
std::vector< VkDescriptorSetLayout > _descriptorSetLayouts {}
 

Detailed Description

Definition at line 18 of file DescriptorSet.hpp.

Constructor & Destructor Documentation

◆ DescriptorSet() [1/3]

lug::Graphics::Vulkan::API::Builder::DescriptorSet::DescriptorSet ( const API::Device device,
const API::DescriptorPool descriptorPool 
)

Definition at line 12 of file DescriptorSet.cpp.

◆ DescriptorSet() [2/3]

lug::Graphics::Vulkan::API::Builder::DescriptorSet::DescriptorSet ( const DescriptorSet )
delete

◆ DescriptorSet() [3/3]

lug::Graphics::Vulkan::API::Builder::DescriptorSet::DescriptorSet ( DescriptorSet &&  )
delete

◆ ~DescriptorSet()

lug::Graphics::Vulkan::API::Builder::DescriptorSet::~DescriptorSet ( )
default

Member Function Documentation

◆ operator=() [1/2]

DescriptorSet& lug::Graphics::Vulkan::API::Builder::DescriptorSet::operator= ( const DescriptorSet )
delete

◆ operator=() [2/2]

DescriptorSet& lug::Graphics::Vulkan::API::Builder::DescriptorSet::operator= ( DescriptorSet &&  )
delete

◆ setDescriptorSetLayouts()

void DescriptorSet::setDescriptorSetLayouts ( const std::vector< VkDescriptorSetLayout > &  descriptorSetLayouts)
inline

Definition at line 1 of file DescriptorSet.inl.

◆ build() [1/4]

bool lug::Graphics::Vulkan::API::Builder::DescriptorSet::build ( API::DescriptorSet instance,
VkResult *  returnResult = nullptr 
)

Definition at line 14 of file DescriptorSet.cpp.

◆ build() [2/4]

std::unique_ptr< API::DescriptorSet > lug::Graphics::Vulkan::API::Builder::DescriptorSet::build ( VkResult *  returnResult = nullptr)

Definition at line 23 of file DescriptorSet.cpp.

◆ build() [3/4]

bool lug::Graphics::Vulkan::API::Builder::DescriptorSet::build ( std::vector< API::DescriptorSet > &  descriptorSets,
VkResult *  returnResult = nullptr 
)

Definition at line 28 of file DescriptorSet.cpp.

◆ build() [4/4]

std::vector< std::unique_ptr< API::DescriptorSet > > lug::Graphics::Vulkan::API::Builder::DescriptorSet::build ( uint32_t  count,
VkResult *  returnResult = nullptr 
)

Definition at line 58 of file DescriptorSet.cpp.

Member Data Documentation

◆ _device

const API::Device& lug::Graphics::Vulkan::API::Builder::DescriptorSet::_device
private

Definition at line 41 of file DescriptorSet.hpp.

◆ _descriptorPool

const API::DescriptorPool& lug::Graphics::Vulkan::API::Builder::DescriptorSet::_descriptorPool
private

Definition at line 43 of file DescriptorSet.hpp.

◆ _descriptorSetLayouts

std::vector<VkDescriptorSetLayout> lug::Graphics::Vulkan::API::Builder::DescriptorSet::_descriptorSetLayouts {}
private

Definition at line 44 of file DescriptorSet.hpp.


The documentation for this class was generated from the following files: