pub enum MinFilter {
Nearest,
Linear,
NearestMipmapNearest,
LinearMipmapNearest,
NearestMipmapLinear,
LinearMipmapLinear,
}Expand description
Minification filter of a texture sampler.
Variants§
Nearest
Selects the nearest texel without mipmapping.
Linear
Linearly interpolates texels without mipmapping.
NearestMipmapNearest
Selects the nearest texel from the nearest mip level.
LinearMipmapNearest
Linearly interpolates texels from the nearest mip level.
NearestMipmapLinear
Selects nearest texels and blends between mip levels.
LinearMipmapLinear
Linearly interpolates texels and blends between mip levels.
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 UnsafeUnpin 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