LampyEngine
 
Загрузка...
Поиск...
Не найдено
Класс VulkanCommandPool

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.

Аргументы
deviceThe Vulkan logical device.
queueFamilyIndexThe index of the queue family that will use this command pool.
Исключения
std::runtime_errorThrown if command pool creation fails.

Методы

◆ getCommandPool()

VkCommandPool VulkanCommandPool::getCommandPool ( ) const
inline

Retrieves the Vulkan command pool handle.

Возвращает
Handle to the Vulkan command pool.

Объявления и описания членов классов находятся в файлах: