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

#include <DescriptorPool.hpp>

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

Public Member Functions

 DescriptorPool (const API::Device &device)
 
 DescriptorPool (const DescriptorPool &)=delete
 
 DescriptorPool (DescriptorPool &&)=delete
 
DescriptorPooloperator= (const DescriptorPool &)=delete
 
DescriptorPooloperator= (DescriptorPool &&)=delete
 
 ~DescriptorPool ()=default
 
void setFlags (VkDescriptorPoolCreateFlags flags)
 
void setMaxSets (uint32_t maxSets)
 
void setPoolSizes (const std::vector< VkDescriptorPoolSize > &poolSizes)
 
bool build (API::DescriptorPool &instance, VkResult *returnResult=nullptr)
 
std::unique_ptr< API::DescriptorPoolbuild (VkResult *returnResult=nullptr)
 

Private Attributes

const API::Device_device
 
VkDescriptorPoolCreateFlags _flags {VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT}
 
uint32_t _maxSets {0}
 
std::vector< VkDescriptorPoolSize > _poolSizes {}
 

Detailed Description

Definition at line 17 of file DescriptorPool.hpp.

Constructor & Destructor Documentation

◆ DescriptorPool() [1/3]

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

Definition at line 11 of file DescriptorPool.cpp.

◆ DescriptorPool() [2/3]

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

◆ DescriptorPool() [3/3]

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

◆ ~DescriptorPool()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setFlags()

void DescriptorPool::setFlags ( VkDescriptorPoolCreateFlags  flags)
inline

Definition at line 1 of file DescriptorPool.inl.

◆ setMaxSets()

void DescriptorPool::setMaxSets ( uint32_t  maxSets)
inline

Definition at line 5 of file DescriptorPool.inl.

◆ setPoolSizes()

void DescriptorPool::setPoolSizes ( const std::vector< VkDescriptorPoolSize > &  poolSizes)
inline

Definition at line 9 of file DescriptorPool.inl.

◆ build() [1/2]

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

Definition at line 13 of file DescriptorPool.cpp.

◆ build() [2/2]

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

Definition at line 41 of file DescriptorPool.cpp.

Member Data Documentation

◆ _device

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

Definition at line 39 of file DescriptorPool.hpp.

◆ _flags

VkDescriptorPoolCreateFlags lug::Graphics::Vulkan::API::Builder::DescriptorPool::_flags {VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT}
private

Definition at line 41 of file DescriptorPool.hpp.

◆ _maxSets

uint32_t lug::Graphics::Vulkan::API::Builder::DescriptorPool::_maxSets {0}
private

Definition at line 42 of file DescriptorPool.hpp.

◆ _poolSizes

std::vector<VkDescriptorPoolSize> lug::Graphics::Vulkan::API::Builder::DescriptorPool::_poolSizes {}
private

Definition at line 43 of file DescriptorPool.hpp.


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