pub enum MinFilter {
Nearest,
Linear,
NearestMipmapNearest,
NearestMipmapLinear,
LinearMipmapNearest,
LinearMipmapLinear,
}Expand description
Minification filter.
Variants§
Nearest
Nearest interpolation.
Linear
Linear interpolation between surrounding pixels.
NearestMipmapNearest
This filter will select the nearest mipmap between two samples and will perform a nearest interpolation afterwards.
NearestMipmapLinear
This filter will select the nearest mipmap between two samples and will perform a linear interpolation afterwards.
LinearMipmapNearest
This filter will linearly interpolate between two mipmaps, which selected texels would have been interpolated with a nearest filter.
LinearMipmapLinear
This filter will linearly interpolate between two mipmaps, which selected texels would have been linarily interpolated as well.
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