VKGETDEVICEQUEUE(3)

NAME
vkGetDeviceQueue - Get a queue handle from a device.

C SPECIFICATION

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

PARAMETERS

device
    Handle to the device that is the owner of the queue.

queueFamilyIndex
    The family index of the queue within the device.

queueIndex
    The index of the queue within the queue family.

pQueue
    A pointer to a variable that is to receive the resulting handle.

DESCRIPTION

vkGetDeviceQueue retrieves a handle to a specified queue from the device specified in device. The queue is identified by its family index, specified in queueFamilyIndex and its index within the family, specified in queueIndex. pQueue is a pointer to a variable that will receive the resulting handle.

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

vkGetPhysicalDeviceFeatures, vkGetPhysicalDeviceQueueFamilyProperties

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.