Enum
VkSparseImageFormatFlagBits
Bitmask specifying additional information about a sparse image resource
Bits which may be set in VkSparseImageFormatProperties::flags,
specifying additional information about the sparse resource, are:
typedef enum VkSparseImageFormatFlagBits {
VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 0x00000001,
VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 0x00000002,
VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 0x00000004,
} VkSparseImageFormatFlagBits;
pub struct SparseImageFormatFlagBits(u32);
impl SparseImageFormatFlagBits {
pub const SINGLE_MIPTAIL: Self = 0x00000001;
pub const ALIGNED_MIP_SIZE: Self = 0x00000002;
pub const NONSTANDARD_BLOCK_SIZE: Self = 0x00000004;
}
VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BITspecifies that the image uses a single mip tail region for all array layers.VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BITspecifies that the first mip level whose dimensions are not integer multiples of the corresponding dimensions of the sparse image block begins the mip tail region.VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BITspecifies that the image uses non-standard sparse image block dimensions, and theimageGranularityvalues do not match the standard sparse image block dimensions for the given format.
Parent
VK_VERSION_1_0Type
Enum