vOOlkan
An object oriented approach to Vulkan
Vulkan::CommandBufferPool Class Reference

A CommandBufferPool is an object which is used to allocate CommandBuffers. More...

#include <CommandBufferPool.h>

Public Member Functions

 CommandBufferPool (const LogicalDevice &virtualGpu, QueueFamily queueFamily=QueueFamily::GRAPHICS)
 Creates a command buffer pool for the specified queue family. More...
 
 CommandBufferPool (const CommandBufferPool &)=delete
 
 CommandBufferPool (CommandBufferPool &&)=default
 
CommandBufferPooloperator= (const CommandBufferPool &)=delete
 
CommandBufferPooloperator= (CommandBufferPool &&)=delete
 
 ~CommandBufferPool ()
 
const VkCommandPool & operator+ () const
 

Detailed Description

A CommandBufferPool is an object which is used to allocate CommandBuffers.

Constructor & Destructor Documentation

◆ CommandBufferPool() [1/3]

Vulkan::CommandBufferPool::CommandBufferPool ( const LogicalDevice virtualGpu,
QueueFamily  queueFamily = QueueFamily::GRAPHICS 
)

Creates a command buffer pool for the specified queue family.

Parameters
virtualGpuThe LogicalDevice where the CommandBuffer(s) originating from this pool will send their commands.
queueFamilyThe QueueFamily where the CommandBuffer(s) originating from this pool will send their commands.

◆ CommandBufferPool() [2/3]

Vulkan::CommandBufferPool::CommandBufferPool ( const CommandBufferPool )
delete

◆ CommandBufferPool() [3/3]

Vulkan::CommandBufferPool::CommandBufferPool ( CommandBufferPool &&  )
default

◆ ~CommandBufferPool()

Vulkan::CommandBufferPool::~CommandBufferPool ( )

Member Function Documentation

◆ operator+()

const VkCommandPool & Vulkan::CommandBufferPool::operator+ ( ) const

◆ operator=() [1/2]

CommandBufferPool & Vulkan::CommandBufferPool::operator= ( CommandBufferPool &&  )
delete

◆ operator=() [2/2]

CommandBufferPool & Vulkan::CommandBufferPool::operator= ( const CommandBufferPool )
delete

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