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 StructuralEq for MinFilter
impl StructuralPartialEq for MinFilter
Auto Trait Implementations
impl RefUnwindSafe for MinFilter
impl Send for MinFilter
impl Sync for MinFilter
impl Unpin for MinFilter
impl UnwindSafe for MinFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more