VKGETDEVICEQUEUE(3)

NAME
vkGetDeviceQueue - Get a queue handle from a device.

C SPECIFICATION

To retrieve a handle to a VkQueue object, call:

    void vkGetDeviceQueue(
        VkDevice                                    device,
        uint32_t                                    queueFamilyIndex,
        uint32_t                                    queueIndex,
        VkQueue*                                    pQueue);

PARAMETERS

    • device is the logical device that owns the queue.

    • queueFamilyIndex is the index of the queue family to which the queue belongs.

    • queueIndex is the index within this queue family of the queue to retrieve.

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

DESCRIPTION

VALID USAGE

    • device must be a valid VkDevice handle

    • pQueue must be a pointer to a VkQueue handle

    • queueFamilyIndex must be one of the queue family indices specified when device was created, via the VkDeviceQueueCreateInfo structure

    • queueIndex must be less than the number of queues created for the specified queue family index when device was created, via the queueCount member of the VkDeviceQueueCreateInfo structure

SEE ALSO

VkDevice, VkQueue

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetDeviceQueue

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

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.