C Specification
The VkQueueFamilyGlobalPriorityProperties structure is defined as:
// Provided by VK_VERSION_1_4
typedef struct VkQueueFamilyGlobalPriorityProperties {
VkStructureType sType;
void* pNext;
uint32_t priorityCount;
VkQueueGlobalPriority priorities[VK_MAX_GLOBAL_PRIORITY_SIZE];
} VkQueueFamilyGlobalPriorityProperties;
or the equivalent
// Provided by VK_KHR_global_priority
typedef VkQueueFamilyGlobalPriorityProperties VkQueueFamilyGlobalPriorityPropertiesKHR;
or the equivalent
// Provided by VK_EXT_global_priority_query
typedef VkQueueFamilyGlobalPriorityProperties VkQueueFamilyGlobalPriorityPropertiesEXT;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
priorityCount
is the number of supported global queue priorities in this queue family, and it must be greater than 0. -
priorities
is an array ofVK_MAX_GLOBAL_PRIORITY_SIZE
VkQueueGlobalPriority enums representing all supported global queue priorities in this queue family. The firstpriorityCount
elements of the array will be valid.
Description
If the VkQueueFamilyGlobalPriorityProperties
structure is included in
the pNext
chain of the VkQueueFamilyProperties2 structure passed
to vkGetPhysicalDeviceQueueFamilyProperties2, it is filled in with the
list of supported global queue priorities for the indicated family.
The valid elements of priorities
must not contain any duplicate
values.
The valid elements of priorities
must be a continuous sequence of
VkQueueGlobalPriority enums in the ascending order.
Note
|
For example, returning |
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.