vkGetDeviceQueue2(3)

# vkGetDeviceQueue2(3) Manual Page

## Name

vkGetDeviceQueue2 - Get a queue handle from a device

## C Specification

To retrieve a handle to a VkQueue object with specific VkDeviceQueueCreateFlags creation flags, call:

    // Provided by VK_VERSION_1_1
    void vkGetDeviceQueue2(
        VkDevice                                    device,
        const VkDeviceQueueInfo2*                   pQueueInfo,
        VkQueue*                                    pQueue);

## Parameters

- `device` is the logical device that owns the queue.

- `pQueueInfo` is a pointer to a VkDeviceQueueInfo2 structure, describing parameters of the device queue to be retrieved.

- `pQueue` is a pointer to a VkQueue object that will be filled with the handle for the requested queue.

## Description

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

## See Also

VK_VERSION_1_1, VkDevice, VkDeviceQueueInfo2, VkQueue

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0