#include <cmd_pool.h>
◆ CommandPool() [1/3]
nngn::CommandPool::CommandPool |
( |
| ) |
|
|
default |
◆ ~CommandPool()
nngn::CommandPool::~CommandPool |
( |
| ) |
|
◆ CommandPool() [2/3]
◆ CommandPool() [3/3]
◆ alloc() [1/2]
bool nngn::CommandPool::alloc |
( |
std::size_t | n | ) |
|
Allocates n
command buffers, which are appended to buffers.
◆ alloc() [2/2]
◆ buffers()
◆ free() [1/2]
void nngn::CommandPool::free |
( |
| ) |
|
Deallocates and frees all commands allocated from the pool.
◆ free() [2/2]
◆ id()
VkCommandPool nngn::CommandPool::id |
( |
| ) |
const |
|
inline |
◆ init()
bool nngn::CommandPool::init |
( |
VkDevice | dev, |
|
|
std::uint32_t | queue_family, |
|
|
VkCommandPoolCreateFlagBits | flags = {} ) |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ realloc()
bool nngn::CommandPool::realloc |
( |
std::size_t | n | ) |
|
Resets the pool and allocates n
command buffers.
◆ reset()
void nngn::CommandPool::reset |
( |
| ) |
|
◆ dev
VkDevice nngn::CommandPool::dev = {} |
|
private |
VkCommandPool nngn::CommandPool::h = {} |
|
private |
◆ m_buffers
The documentation for this class was generated from the following files: