Structures
VkFormatProperties
Structure specifying image format properties
The VkFormatProperties
structure is defined as:
typedef struct VkFormatProperties {
VkFormatFeatureFlags linearTilingFeatures;
VkFormatFeatureFlags optimalTilingFeatures;
VkFormatFeatureFlags bufferFeatures;
} VkFormatProperties;
linearTilingFeatures
is a bitmask of VkFormatFeatureFlagBits specifying features supported by images created with atiling
parameter ofVK_IMAGE_TILING_LINEAR
.optimalTilingFeatures
is a bitmask of VkFormatFeatureFlagBits specifying features supported by images created with atiling
parameter ofVK_IMAGE_TILING_OPTIMAL
.bufferFeatures
is a bitmask of VkFormatFeatureFlagBits specifying features supported by buffers.
If no format feature flags are supported, the format itself is not supported, and images of that format cannot be created.
If format
is a block-compressed format, then bufferFeatures
must not support any features for the format.
If format
is not a multi-plane format then linearTilingFeatures
and optimalTilingFeatures
must not contain
VK_FORMAT_FEATURE_DISJOINT_BIT
.