Enum
VkImageTiling
Specifies the tiling arrangement of data in an image
Possible values of VkImageCreateInfo::tiling, specifying the
tiling arrangement of texel blocks in an image, are:
typedef enum VkImageTiling {
VK_IMAGE_TILING_OPTIMAL = 0,
VK_IMAGE_TILING_LINEAR = 1,
// Provided by extensions
VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT = -999999000,
} VkImageTiling;
pub struct ImageTiling(u32);
impl ImageTiling {
pub const OPTIMAL: Self = 0;
pub const LINEAR: Self = 1;
pub const DRM_FORMAT_MODIFIER_EXT: Self = -999999000;
}
VK_IMAGE_TILING_OPTIMALspecifies optimal tiling (texels are laid out in an implementation-dependent arrangement, for more efficient memory access).VK_IMAGE_TILING_LINEARspecifies linear tiling (texels are laid out in memory in row-major order, possibly with some padding on each row).VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXTspecifies that the image’s tiling is defined by a Linux DRM format modifier. The modifier is specified at image creation with VkImageDrmFormatModifierListCreateInfoEXT or VkImageDrmFormatModifierExplicitCreateInfoEXT, and can be queried with vkGetImageDrmFormatModifierPropertiesEXT.
Parent
VK_VERSION_1_0Type
Enum