Class CommandPool¶
Defined in File command_pool.hpp
Class Documentation¶
-
class CommandPool¶
RAII wrapper class for VkCommandPool.
Public Functions
-
CommandPool(const Device &device, std::string name)¶
Default constructor
- Parameters
device – The device wrapper instance
name – The internal debug marker name which will be assigned to this command pool
-
CommandPool(const CommandPool&) = delete¶
-
CommandPool(CommandPool&&) noexcept¶
-
~CommandPool()¶
-
CommandPool &operator=(const CommandPool&) = delete¶
-
CommandPool &operator=(CommandPool&&) = delete¶
-
inline VkCommandPool get() const¶
-
inline const VkCommandPool *ptr() const¶
-
const CommandBuffer &request_command_buffer(const std::string &name)¶
Request a command buffer
- Parameters
name – The internal debug name which will be assigned to this command buffer (must not be empty)
- Returns
A command buffer handle instance which allows access to the requested command buffer
-
CommandPool(const Device &device, std::string name)¶