VKDEVICEQUEUECREATEI(3)

NAME
VkDeviceQueueCreateInfo - Structure specifying parameters of a newly created device queue

C SPECIFICATION

The VkDeviceQueueCreateInfo structure is defined as:

    typedef struct VkDeviceQueueCreateInfo {
        VkStructureType             sType;
        const void*                 pNext;
        VkDeviceQueueCreateFlags    flags;
        uint32_t                    queueFamilyIndex;
        uint32_t                    queueCount;
        const float*                pQueuePriorities;
    } VkDeviceQueueCreateInfo;

MEMBERS

    • sType is the type of this structure.

    • pNext is NULL or a pointer to an extension-specific structure.

    • flags is reserved for future use.

    • queueFamilyIndex is an unsigned integer indicating the index of the queue family to create on this device. This index corresponds to the index of an element of the pQueueFamilyProperties array that was returned by vkGetPhysicalDeviceQueueFamilyProperties.

    • queueCount is an unsigned integer specifying the number of queues to create in the queue family indicated by queueFamilyIndex.

    • pQueuePriorities is an array of queueCount normalized floating point values, specifying priorities of work that will be submitted to each created queue. See Queue Priority for more information.

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • pQueuePriorities must be a pointer to an array of queueCount float values

    • queueCount must be greater than 0

    • queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties

    • queueCount must be less than or equal to the queueCount member of the VkQueueFamilyProperties structure, as returned by vkGetPhysicalDeviceQueueFamilyProperties in the pQueueFamilyProperties[queueFamilyIndex]

    • Each element of pQueuePriorities must be between 0.0 and 1.0 inclusive

SEE ALSO

VkDeviceCreateInfo, VkDeviceQueueCreateFlags, VkStructureType

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

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

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.