Enum
VkImageAspectFlagBits
Bitmask specifying which aspects of an image are included in a view
Bits which can be set in an aspect mask to specify aspects of an image for purposes such as identifying a subresource, are:
typedef enum VkImageAspectFlagBits {
VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001,
VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002,
VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004,
VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008,
} VkImageAspectFlagBits;
VK_IMAGE_ASPECT_NONEspecifies no image aspect, or the image aspect is not applicable.VK_IMAGE_ASPECT_COLOR_BITspecifies the color aspect.VK_IMAGE_ASPECT_DEPTH_BITspecifies the depth aspect.VK_IMAGE_ASPECT_STENCIL_BITspecifies the stencil aspect.VK_IMAGE_ASPECT_METADATA_BITspecifies the metadata aspect used for sparse resource operations.VK_IMAGE_ASPECT_PLANE_0_BITspecifies plane 0 of a multi-planar image format.VK_IMAGE_ASPECT_PLANE_1_BITspecifies plane 1 of a multi-planar image format.VK_IMAGE_ASPECT_PLANE_2_BITspecifies plane 2 of a multi-planar image format.VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXTspecifies memory plane 0.VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXTspecifies memory plane 1.VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXTspecifies memory plane 2.VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXTspecifies memory plane 3.