Structures
VkDrmFormatModifierProperties2EXT
Structure specifying properties of a format when combined with a DRM format modifier
The VkDrmFormatModifierProperties2EXT structure describes properties of a VkFormat when that format is combined with a Linux DRM format modifier. These properties, like those of VkFormatProperties2, are independent of any particular image.
The VkDrmFormatModifierPropertiesEXT structure is defined as:
typedef struct VkDrmFormatModifierProperties2EXT {
uint64_t drmFormatModifier;
uint32_t drmFormatModifierPlaneCount;
VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;
} VkDrmFormatModifierProperties2EXT;
drmFormatModifier
is a Linux DRM format modifier.drmFormatModifierPlaneCount
is the number of memory planes in any image created withformat
anddrmFormatModifier
. An image’s memory planecount is distinct from its format planecount, as explained below.drmFormatModifierTilingFeatures
is a bitmask of VkFormatFeatureFlagBits2 that are supported by any image created withformat
anddrmFormatModifier
.