Manages a Vulkan command pool, which is used to allocate command buffers.
Подробнее...
#include <VulkanCommandPool.h>
|
| VulkanCommandPool (VkDevice device, uint32_t queueFamilyIndex) |
| Constructs a Vulkan command pool for the given queue family index.
|
|
| ~VulkanCommandPool () |
| Destroys the Vulkan command pool.
|
|
VkCommandPool | getCommandPool () const |
| Retrieves the Vulkan command pool handle.
|
|
Manages a Vulkan command pool, which is used to allocate command buffers.
◆ VulkanCommandPool()
VulkanCommandPool::VulkanCommandPool |
( |
VkDevice | device, |
|
|
uint32_t | queueFamilyIndex ) |
Constructs a Vulkan command pool for the given queue family index.
- Аргументы
-
device | The Vulkan logical device. |
queueFamilyIndex | The index of the queue family that will use this command pool. |
- Исключения
-
std::runtime_error | Thrown if command pool creation fails. |
◆ getCommandPool()
VkCommandPool VulkanCommandPool::getCommandPool |
( |
| ) |
const |
|
inline |
Retrieves the Vulkan command pool handle.
- Возвращает
- Handle to the Vulkan command pool.
Объявления и описания членов классов находятся в файлах:
- Engine/Modules/RenderModule/Vulkan/VulkanObjects/VulkanCommandPool.h
- Engine/Modules/RenderModule/Vulkan/VulkanObjects/VulkanCommandPool.cpp