C Specification
To query supported format extended features which are properties of the
physical device, add VkFormatProperties3KHR structure to the
pNext
chain of VkFormatProperties2.
The VkFormatProperties3KHR structure is defined as:
// Provided by VK_KHR_format_feature_flags2
typedef struct VkFormatProperties3KHR {
VkStructureType sType;
void* pNext;
VkFormatFeatureFlags2KHR linearTilingFeatures;
VkFormatFeatureFlags2KHR optimalTilingFeatures;
VkFormatFeatureFlags2KHR bufferFeatures;
} VkFormatProperties3KHR;
Members
-
linearTilingFeatures
is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by images created with atiling
parameter ofVK_IMAGE_TILING_LINEAR
. -
optimalTilingFeatures
is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by images created with atiling
parameter ofVK_IMAGE_TILING_OPTIMAL
. -
bufferFeatures
is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by buffers.
Description
The bits reported in linearTilingFeatures
, optimalTilingFeatures
and bufferFeatures
must include the bits reported in the
corresponding fields of VkFormatProperties2
::formatProperties
.
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.