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;
pub struct SampleCountFlagBits(u32);
impl SampleCountFlagBits {
pub const TYPE_1: Self = 0x00000001;
pub const TYPE_2: Self = 0x00000002;
pub const TYPE_4: Self = 0x00000004;
pub const TYPE_8: Self = 0x00000008;
pub const TYPE_16: Self = 0x00000010;
pub const TYPE_32: Self = 0x00000020;
pub const TYPE_64: Self = 0x00000040;
}
VK_SAMPLE_COUNT_1_BITspecifies an image with one sample per pixel.VK_SAMPLE_COUNT_2_BITspecifies an image with 2 samples per pixel.VK_SAMPLE_COUNT_4_BITspecifies an image with 4 samples per pixel.VK_SAMPLE_COUNT_8_BITspecifies an image with 8 samples per pixel.VK_SAMPLE_COUNT_16_BITspecifies an image with 16 samples per pixel.VK_SAMPLE_COUNT_32_BITspecifies an image with 32 samples per pixel.VK_SAMPLE_COUNT_64_BITspecifies an image with 64 samples per pixel.
Parent
VK_VERSION_1_0Type
Enum