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

#include <DescriptorSetLayout.hpp>

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

Public Member Functions

 DescriptorSetLayout (const API::Device &device)
 
 DescriptorSetLayout (const DescriptorSetLayout &)=delete
 
 DescriptorSetLayout (DescriptorSetLayout &&)=delete
 
DescriptorSetLayoutoperator= (const DescriptorSetLayout &)=delete
 
DescriptorSetLayoutoperator= (DescriptorSetLayout &&)=delete
 
 ~DescriptorSetLayout ()=default
 
void setBindings (const std::vector< VkDescriptorSetLayoutBinding > &bindings)
 
bool build (API::DescriptorSetLayout &instance, VkResult *returnResult=nullptr)
 
std::unique_ptr< API::DescriptorSetLayoutbuild (VkResult *returnResult=nullptr)
 

Private Attributes

const API::Device_device
 
std::vector< VkDescriptorSetLayoutBinding > _bindings {}
 

Detailed Description

Definition at line 17 of file DescriptorSetLayout.hpp.

Constructor & Destructor Documentation

◆ DescriptorSetLayout() [1/3]

lug::Graphics::Vulkan::API::Builder::DescriptorSetLayout::DescriptorSetLayout ( const API::Device device)

Definition at line 11 of file DescriptorSetLayout.cpp.

◆ DescriptorSetLayout() [2/3]

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

◆ DescriptorSetLayout() [3/3]

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

◆ ~DescriptorSetLayout()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setBindings()

void DescriptorSetLayout::setBindings ( const std::vector< VkDescriptorSetLayoutBinding > &  bindings)
inline

Definition at line 1 of file DescriptorSetLayout.inl.

◆ build() [1/2]

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

Definition at line 13 of file DescriptorSetLayout.cpp.

◆ build() [2/2]

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

Definition at line 40 of file DescriptorSetLayout.cpp.

Member Data Documentation

◆ _device

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

Definition at line 37 of file DescriptorSetLayout.hpp.

◆ _bindings

std::vector<VkDescriptorSetLayoutBinding> lug::Graphics::Vulkan::API::Builder::DescriptorSetLayout::_bindings {}
private

Definition at line 39 of file DescriptorSetLayout.hpp.


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