Enum
VkSamplerMipmapMode
Specify mipmap mode used for texture lookups
Possible values of the VkSamplerCreateInfo::mipmapMode,
specifying the mipmap mode used for texture lookups, are:
typedef enum VkSamplerMipmapMode {
VK_SAMPLER_MIPMAP_MODE_NEAREST = 0,
VK_SAMPLER_MIPMAP_MODE_LINEAR = 1,
} VkSamplerMipmapMode;
pub struct SamplerMipmapMode(u32);
impl SamplerMipmapMode {
pub const NEAREST: Self = 0;
pub const LINEAR: Self = 1;
}
VK_SAMPLER_MIPMAP_MODE_NEARESTspecifies nearest filtering.VK_SAMPLER_MIPMAP_MODE_LINEARspecifies linear filtering.
These modes are described in detail in Texel Filtering.
Parent
VK_VERSION_1_0Type
Enum