|
Monado OpenXR Runtime
|
A builder for creating a list of queue create infos, allocate on the stack and then pass into vkCreateDevice. More...
#include <vk/vk_queue_builder.h>

Data Fields | |
| VkDeviceQueueCreateInfo | create_infos [VK_BUNDLE_MAX_QUEUES] |
| Array of queue create infos to fill in. More... | |
| float | priorities [VK_BUNDLE_MAX_QUEUES][VK_BUNDLE_MAX_QUEUES] |
| Array of queue priorities to fill in. More... | |
| uint32_t | create_info_count |
| Count of queue create infos and priorities added. More... | |
| uint32_t | total_count |
| Can create multiple queues in the same family, this is the total number of queues that are created, must be less than or equal to VK_BUNDLE_MAX_QUEUES. More... | |
A builder for creating a list of queue create infos, allocate on the stack and then pass into vkCreateDevice.
| uint32_t vk_queue_builder::create_info_count |
Count of queue create infos and priorities added.
| VkDeviceQueueCreateInfo vk_queue_builder::create_infos[VK_BUNDLE_MAX_QUEUES] |
Array of queue create infos to fill in.
| float vk_queue_builder::priorities[VK_BUNDLE_MAX_QUEUES][VK_BUNDLE_MAX_QUEUES] |
Array of queue priorities to fill in.
While VK_BUNDLE_MAX_QUEUES is the maximum total number of queues, there can either be that many queues from one family, or one queue from each of that many families, or any combination in between. Since we don't know ahead of time how many families will be used, we allocate the maximum in each dimension for simplicity.
| uint32_t vk_queue_builder::total_count |
Can create multiple queues in the same family, this is the total number of queues that are created, must be less than or equal to VK_BUNDLE_MAX_QUEUES.