|
Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
|
Vulkan 逻辑设备. 更多...
#include <VKDevice.h>
Public 类型 | |
| enum class | QueueType { Graphics , Compute , Transfer , Present } |
| 队列类型. | |
Public 成员函数 | |
| VKDevice (VkDevice device) | |
| VKDevice (VkDevice device, VKPhysicalDevice &physicalDevice) | |
| VkQueue | get_queue (QueueType type) const |
| 获取队列. 更多... | |
| std::optional< uint32_t > | get_queue_index (QueueType type) const |
| 获取队列索引. 更多... | |
| VKPhysicalDevice & | get_physical_device () noexcept |
| void | destroy () |
| operator VkDevice () noexcept | |
| operator VkDevice () const noexcept | |
Vulkan 逻辑设备.
| VkQueue VKDevice::get_queue | ( | QueueType | type | ) | const |
获取队列.
| type | 队列类型. |
| std::optional< uint32_t > VKDevice::get_queue_index | ( | QueueType | type | ) | const |
获取队列索引.
| type | 队列类型. |