To query properties of queues available on a physical device, call:
// Provided by VK_VERSION_1_0 void vkGetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties);
physicalDeviceis the handle to the physical device whose properties will be queried.
pQueueFamilyPropertyCountis a pointer to an integer related to the number of queue families available or queried, as described below.
NULLor a pointer to an array of VkQueueFamilyProperties structures.
NULL, then the number of queue families
available is returned in
Implementations must support at least one queue family.
pQueueFamilyPropertyCount must point to a variable set by
the user to the number of elements in the
array, and on return the variable is overwritten with the number of
structures actually written to
pQueueFamilyPropertyCount is less than the number of queue families
available, at most
pQueueFamilyPropertyCount structures will be
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.