Structures
VkImageDrmFormatModifierPropertiesEXT
Properties of an image's Linux DRM format modifier
The VkImageDrmFormatModifierPropertiesEXT structure is defined as:
typedef struct VkImageDrmFormatModifierPropertiesEXT {
VkStructureType sType;
void* pNext;
uint64_t drmFormatModifier;
} VkImageDrmFormatModifierPropertiesEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.drmFormatModifier
returns the image’s Linux DRM format modifier.
If the image
was created with
VkImageDrmFormatModifierListCreateInfoEXT, then the returned
drmFormatModifier
must belong to the list of modifiers provided at
time of image creation in
VkImageDrmFormatModifierListCreateInfoEXT::pDrmFormatModifiers
.
If the image
was created with
VkImageDrmFormatModifierExplicitCreateInfoEXT, then the returned
drmFormatModifier
must be the modifier provided at time of image
creation in
VkImageDrmFormatModifierExplicitCreateInfoEXT::drmFormatModifier
.
Valid Usage (Implicit)
VUID-VkImageDrmFormatModifierPropertiesEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT
VUID-VkImageDrmFormatModifierPropertiesEXT-pNext-pNext
pNext
must be NULL