Enum

VkSampleCountFlagBits

Bitmask specifying sample counts supported for an image used for storage operations

Bits which may be set in the sample count limits returned by VkPhysicalDeviceLimits, as well as in other queries and structures representing image sample counts, are:

typedef enum VkSampleCountFlagBits {
    VK_SAMPLE_COUNT_1_BIT = 0x00000001,
    VK_SAMPLE_COUNT_2_BIT = 0x00000002,
    VK_SAMPLE_COUNT_4_BIT = 0x00000004,
    VK_SAMPLE_COUNT_8_BIT = 0x00000008,
    VK_SAMPLE_COUNT_16_BIT = 0x00000010,
    VK_SAMPLE_COUNT_32_BIT = 0x00000020,
    VK_SAMPLE_COUNT_64_BIT = 0x00000040,
} VkSampleCountFlagBits;
  • VK_SAMPLE_COUNT_1_BIT specifies an image with one sample per pixel.
  • VK_SAMPLE_COUNT_2_BIT specifies an image with 2 samples per pixel.
  • VK_SAMPLE_COUNT_4_BIT specifies an image with 4 samples per pixel.
  • VK_SAMPLE_COUNT_8_BIT specifies an image with 8 samples per pixel.
  • VK_SAMPLE_COUNT_16_BIT specifies an image with 16 samples per pixel.
  • VK_SAMPLE_COUNT_32_BIT specifies an image with 32 samples per pixel.
  • VK_SAMPLE_COUNT_64_BIT specifies an image with 64 samples per pixel.