Structures
VkImageSubresource
Structure specifying an image subresource
The VkImageSubresource
structure is defined as:
typedef struct VkImageSubresource {
VkImageAspectFlags aspectMask;
uint32_t mipLevel;
uint32_t arrayLayer;
} VkImageSubresource;
aspectMask
is a VkImageAspectFlags value selecting the image aspect.mipLevel
selects the mipmap level.arrayLayer
selects the array layer.
Valid Usage (Implicit)
VUID-VkImageSubresource-aspectMask-parameter
aspectMask
must be a valid combination of VkImageAspectFlagBits values
VUID-VkImageSubresource-aspectMask-requiredbitmask
aspectMask
must not be 0