pub enum MinFilter {
Nearest = 1,
Linear = 2,
NearestMipmapNearest = 3,
LinearMipmapNearest = 4,
NearestMipmapLinear = 5,
LinearMipmapLinear = 6,
}Expand description
Mag Filter
§Rendering
Vulkan: Corresponds to vk::Filter & vk::SamplerMipmapMode
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFilter.html
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerMipmapMode.html
Variants§
Nearest = 1
Corresponds to GL_NEAREST or vk::Filter::NEAREST.
Linear = 2
Corresponds to GL_LINEAR or vk::Filter::LINEAR.
NearestMipmapNearest = 3
Corresponds to GL_NEAREST_MIPMAP_NEAREST or (vk::Filter::NEAREST, vk::SamplerMipmapMode::NEAREST).
LinearMipmapNearest = 4
Corresponds to GL_LINEAR_MIPMAP_NEAREST or (vk::Filter::LINEAR, vk::SamplerMipmapMode::NEAREST).
NearestMipmapLinear = 5
Corresponds to GL_NEAREST_MIPMAP_LINEAR or (vk::Filter::NEAREST, vk::SamplerMipmapMode::LINEAR).
LinearMipmapLinear = 6
Corresponds to GL_LINEAR_MIPMAP_LINEAR or (vk::Filter::LINEAR, vk::SamplerMipmapMode::LINEAR).
Trait Implementations§
impl Copy for MinFilter
impl Eq for MinFilter
impl StructuralPartialEq for MinFilter
Auto Trait Implementations§
impl Freeze for MinFilter
impl RefUnwindSafe for MinFilter
impl Send for MinFilter
impl Sync for MinFilter
impl Unpin for MinFilter
impl UnwindSafe for MinFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more