Enum

VkImageType

Specifies the type of an image object

Possible values of VkImageCreateInfo::imageType, specifying the basic dimensionality of an image, are:

typedef enum VkImageType {
    VK_IMAGE_TYPE_1D = 0,
    VK_IMAGE_TYPE_2D = 1,
    VK_IMAGE_TYPE_3D = 2,
} VkImageType;
  • VK_IMAGE_TYPE_1D specifies a one-dimensional image.
  • VK_IMAGE_TYPE_2D specifies a two-dimensional image.
  • VK_IMAGE_TYPE_3D specifies a three-dimensional image.