pub enum MipFilter {
None,
Nearest,
Linear,
}Expand description
How mip levels are used when a texture is minified.
Variants§
None
No mip levels: the base level only (glTF’s NEAREST or LINEAR minification filter).
Nearest
The nearest mip level.
Linear
Between the two nearest mip levels (trilinear with a linear min).
Trait Implementations§
impl Copy for MipFilter
impl Eq for MipFilter
Source§impl Ord for MipFilter
impl Ord for MipFilter
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for MipFilter
impl PartialOrd for MipFilter
impl StructuralPartialEq for MipFilter
Auto Trait Implementations§
impl Freeze for MipFilter
impl RefUnwindSafe for MipFilter
impl Send for MipFilter
impl Sync for MipFilter
impl Unpin for MipFilter
impl UnsafeUnpin for MipFilter
impl UnwindSafe for MipFilter
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