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

#include <CommandPool.hpp>

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

Public Member Functions

 CommandPool (const API::Device &device, const API::QueueFamily &queueFamily)
 
 CommandPool (const CommandPool &)=delete
 
 CommandPool (CommandPool &&)=delete
 
CommandPooloperator= (const CommandPool &)=delete
 
CommandPooloperator= (CommandPool &&)=delete
 
 ~CommandPool ()=default
 
void setFlags (VkCommandPoolCreateFlags flags)
 
bool build (API::CommandPool &instance, VkResult *returnResult=nullptr)
 
std::unique_ptr< API::CommandPoolbuild (VkResult *returnResult=nullptr)
 

Private Attributes

const API::Device_device
 
const API::QueueFamily_queueFamily
 
VkCommandPoolCreateFlags _flags {VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT}
 

Detailed Description

Definition at line 17 of file CommandPool.hpp.

Constructor & Destructor Documentation

◆ CommandPool() [1/3]

lug::Graphics::Vulkan::API::Builder::CommandPool::CommandPool ( const API::Device device,
const API::QueueFamily queueFamily 
)

Definition at line 11 of file CommandPool.cpp.

◆ CommandPool() [2/3]

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

◆ CommandPool() [3/3]

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

◆ ~CommandPool()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setFlags()

void CommandPool::setFlags ( VkCommandPoolCreateFlags  flags)
inline

Definition at line 1 of file CommandPool.inl.

◆ build() [1/2]

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

Definition at line 13 of file CommandPool.cpp.

◆ build() [2/2]

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

Definition at line 39 of file CommandPool.cpp.

Member Data Documentation

◆ _device

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

Definition at line 37 of file CommandPool.hpp.

◆ _queueFamily

const API::QueueFamily& lug::Graphics::Vulkan::API::Builder::CommandPool::_queueFamily
private

Definition at line 39 of file CommandPool.hpp.

◆ _flags

VkCommandPoolCreateFlags lug::Graphics::Vulkan::API::Builder::CommandPool::_flags {VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT}
private

Definition at line 40 of file CommandPool.hpp.


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