VkPhysicalDeviceExtendedFlagsFeaturesKHR(3)
Name
VkPhysicalDeviceExtendedFlagsFeaturesKHR - Structure describing whether the implementation supports extended flags functionality
C Specification
The VkPhysicalDeviceExtendedFlagsFeaturesKHR structure is defined as:
// Provided by VK_KHR_extended_flags
typedef struct VkPhysicalDeviceExtendedFlagsFeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 extendedFlags;
} VkPhysicalDeviceExtendedFlagsFeaturesKHR;
Members
This structure describes the following feature:
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
extendedFlagsindicates that the implementation supports the following: -
VkFormatProperties4KHR, extending VkFormatProperties2, and corresponding VkFormatFeatureFlagBits4KHR and VkFormatFeatureFlags4KHR types providing up to 64 new format feature flags.
-
VkImageCreateFlags2CreateInfoKHR, extending structures passed to image create and query functions, and corresponding VkImageCreateFlagBits2KHR and VkImageCreateFlags2KHR types providing up to 32 new image create flags.
-
VkImageUsageFlags2CreateInfoKHR, extending structures passed to image create and query functions, and corresponding VkImageUsageFlagBits2KHR and VkImageUsageFlags2KHR types providing up to 32 new image usage flags.
-
The VkPipelineCreateFlags2CreateInfoKHR, VkPipelineCreateFlags2KHR, VkPipelineCreateFlagBits2KHR, VkBufferUsageFlags2CreateInfoKHR, VkBufferUsageFlags2KHR, and VkBufferUsageFlagBits2KHR types originally introduced by VK_KHR_maintenance5.
Description
If the VkPhysicalDeviceExtendedFlagsFeaturesKHR structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceExtendedFlagsFeaturesKHR, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
See Also
VK_KHR_extended_flags, VkBool32, VkStructureType
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.