Structures
VkSubresourceLayout2
Structure specifying subresource layout
Information about the layout of the image subresource is returned in a
VkSubresourceLayout2 structure:
typedef struct VkSubresourceLayout2 {
VkStructureType sType;
void* pNext;
VkSubresourceLayout subresourceLayout;
} VkSubresourceLayout2;
or the equivalent
typedef VkSubresourceLayout2 VkSubresourceLayout2KHR;
or the equivalent
typedef VkSubresourceLayout2 VkSubresourceLayout2EXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.subresourceLayoutis a VkSubresourceLayout structure.
Valid Usage (Implicit)
VUID-VkSubresourceLayout2-sType-sType
sType must be VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2
VUID-VkSubresourceLayout2-pNext-pNext
Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkImageCompressionPropertiesEXT or VkSubresourceHostMemcpySize
VUID-VkSubresourceLayout2-sType-unique
The sType value of each structure in the pNext chain must be unique