Function inexor::vulkan_renderer::tools::determine_queue_family_indices¶
Defined in File queue_selection.hpp
Function Documentation¶
-
QueueFamilyIndexCandidates inexor::vulkan_renderer::tools::determine_queue_family_indices(const std::vector<VkQueueFamilyProperties> &props)¶
This will determine the queue family indices to use for graphics queue, compute queue, transfer queue, and sparse binding queue. This will also fill the VkDeviceQueueCreateInfo structs (the queues to create).
- Parameters:
props – The queue family properties of a physical device.
- Returns:
The optimal queue family indices, making as much use of various distinct queue family indices as possible.