Function Prototype
vkGetDeviceQueue2
Get a queue handle from a device
To retrieve a handle to a VkQueue object with specific VkDeviceQueueCreateFlags creation flags, call:
void vkGetDeviceQueue2(
VkDevice device,
const VkDeviceQueueInfo2* pQueueInfo,
VkQueue* pQueue);
deviceis the logical device that owns the queue.pQueueInfois a pointer to a VkDeviceQueueInfo2 structure, describing parameters of the device queue to be retrieved.pQueueis a pointer to a VkQueue object that will be filled with the handle for the requested queue.
Valid Usage (Implicit)
VUID-vkGetDeviceQueue2-device-parameter
device must be a valid VkDevice handle
VUID-vkGetDeviceQueue2-pQueueInfo-parameter
pQueueInfo must be a valid pointer to a valid VkDeviceQueueInfo2 structure
VUID-vkGetDeviceQueue2-pQueue-parameter
pQueue must be a valid pointer to a VkQueue handle