|
Kohi Game Engine
|
A representation of both the physical and logical Vulkan devices. Also contains handles to queues, command pools, and various properties of the devices. More...
#include <vulkan_types.h>
Data Fields | |
| u32 | api_major |
| The supported device-level api major version. More... | |
| u32 | api_minor |
| The supported device-level api minor version. More... | |
| u32 | api_patch |
| The supported device-level api patch version. More... | |
| VkPhysicalDevice | physical_device |
| The physical device. This is a representation of the GPU itself. More... | |
| VkDevice | logical_device |
| The logical device. This is the application's view of the device, used for most Vulkan operations. More... | |
| vulkan_swapchain_support_info | swapchain_support |
| The swapchain support info. More... | |
| i32 | graphics_queue_index |
| The index of the graphics queue. More... | |
| i32 | present_queue_index |
| The index of the present queue. More... | |
| i32 | transfer_queue_index |
| The index of the transfer queue. More... | |
| b8 | supports_device_local_host_visible |
| Indicates if the device supports a memory type that is both host visible and device local. More... | |
| VkQueue | graphics_queue |
| A handle to a graphics queue. More... | |
| VkQueue | present_queue |
| A handle to a present queue. More... | |
| VkQueue | transfer_queue |
| A handle to a transfer queue. More... | |
| VkCommandPool | graphics_command_pool |
| A handle to a command pool for graphics operations. More... | |
| VkPhysicalDeviceProperties | properties |
| The physical device properties. More... | |
| VkPhysicalDeviceFeatures | features |
| The physical device features. More... | |
| VkPhysicalDeviceMemoryProperties | memory |
| The physical device memory properties. More... | |
| VkFormat | depth_format |
| The chosen supported depth format. More... | |
| u8 | depth_channel_count |
| The chosen depth format's number of channels. More... | |
| vulkan_device_support_flags | support_flags |
| Indicates support for various features. More... | |
A representation of both the physical and logical Vulkan devices. Also contains handles to queues, command pools, and various properties of the devices.
| u32 api_major |
The supported device-level api major version.
| u32 api_minor |
The supported device-level api minor version.
| u32 api_patch |
The supported device-level api patch version.
| u8 depth_channel_count |
The chosen depth format's number of channels.
| VkFormat depth_format |
The chosen supported depth format.
| VkPhysicalDeviceFeatures features |
The physical device features.
| VkCommandPool graphics_command_pool |
A handle to a command pool for graphics operations.
| VkQueue graphics_queue |
A handle to a graphics queue.
| i32 graphics_queue_index |
The index of the graphics queue.
| VkDevice logical_device |
The logical device. This is the application's view of the device, used for most Vulkan operations.
| VkPhysicalDeviceMemoryProperties memory |
The physical device memory properties.
| VkPhysicalDevice physical_device |
The physical device. This is a representation of the GPU itself.
| VkQueue present_queue |
A handle to a present queue.
| i32 present_queue_index |
The index of the present queue.
| VkPhysicalDeviceProperties properties |
The physical device properties.
| vulkan_device_support_flags support_flags |
Indicates support for various features.
| b8 supports_device_local_host_visible |
Indicates if the device supports a memory type that is both host visible and device local.
| vulkan_swapchain_support_info swapchain_support |
The swapchain support info.
| VkQueue transfer_queue |
A handle to a transfer queue.
| i32 transfer_queue_index |
The index of the transfer queue.