Structures
VkSubresourceLayout2KHR
Structure specifying subresource layout
Information about the layout of the image subresource is returned in a
VkSubresourceLayout2KHR
structure:
typedef struct VkSubresourceLayout2KHR {
VkStructureType sType;
void* pNext;
VkSubresourceLayout subresourceLayout;
} VkSubresourceLayout2KHR;
or the equivalent
typedef VkSubresourceLayout2KHR VkSubresourceLayout2EXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.subresourceLayout
is a VkSubresourceLayout structure.
Valid Usage (Implicit)
VUID-VkSubresourceLayout2KHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_KHR
VUID-VkSubresourceLayout2KHR-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 VkSubresourceHostMemcpySizeEXT
VUID-VkSubresourceLayout2KHR-sType-unique
The sType
value of each struct in the pNext
chain must be unique