Manages the Vulkan logical device and associated resources.
Подробнее...
#include <VulkanLogicalDevice.h>
Manages the Vulkan logical device and associated resources.
◆ VulkanLogicalDevice()
VulkanLogicalDevice::VulkanLogicalDevice |
( |
VkInstance | instance, |
|
|
VkSurfaceKHR | surface ) |
Constructs a Vulkan logical device.
- Аргументы
-
instance | The Vulkan instance. |
surface | The Vulkan rendering surface. |
- Исключения
-
std::runtime_error | Thrown if device selection or logical device creation fails. |
◆ getDeviceFamilyIndices()
Retrieves the queue family indices for the device.
- Возвращает
- Queue family indices.
◆ getDeviceSwapChainSupportDetails()
Retrieves swap chain support details for the device.
- Возвращает
- Swap chain support details.
◆ getGraphicsQueue()
VkQueue VulkanLogicalDevice::getGraphicsQueue |
( |
| ) |
const |
|
inline |
Retrieves the graphics queue.
- Возвращает
- Handle to the graphics queue.
◆ getLogicalDevice()
VkDevice VulkanLogicalDevice::getLogicalDevice |
( |
| ) |
const |
|
inline |
Retrieves the Vulkan logical device.
- Возвращает
- Handle to the logical device.
◆ getPhysicalDevice()
VkPhysicalDevice VulkanLogicalDevice::getPhysicalDevice |
( |
| ) |
const |
|
inline |
Retrieves the selected Vulkan physical device.
- Возвращает
- Handle to the physical device.
◆ getPresentQueue()
VkQueue VulkanLogicalDevice::getPresentQueue |
( |
| ) |
const |
|
inline |
Retrieves the presentation queue.
- Возвращает
- Handle to the presentation queue.
Объявления и описания членов классов находятся в файлах:
- Engine/Modules/RenderModule/Vulkan/VulkanObjects/VulkanLogicalDevice.h
- Engine/Modules/RenderModule/Vulkan/VulkanObjects/VulkanLogicalDevice.cpp