[][src]Struct web_glitz::image::sampler::LinearMipmapNearest

pub struct LinearMipmapNearest;

First selects both the nearest mipmap level for which the texel size is smaller than the fragment, as well as the nearest mipmap level for which the texel size is larger than the fragment; then samples a value from both mipmap levels by choosing the texel whose coordinates are closest to the sampling coordinates; finally, the sample value is calculated by linearly interpolating between these two values.

Trait Implementations

impl Clone for LinearMipmapNearest[src]

impl<F> CompatibleFilter<F> for LinearMipmapNearest where
    F: Filterable
[src]

impl<F> CompatibleFilter<F> for LinearMipmapNearest where
    F: TextureFormat + Filterable
[src]

impl Copy for LinearMipmapNearest[src]

impl Debug for LinearMipmapNearest[src]

impl Eq for LinearMipmapNearest[src]

impl Hash for LinearMipmapNearest[src]

impl MinificationFilter for LinearMipmapNearest[src]

impl PartialEq<LinearMipmapNearest> for LinearMipmapNearest[src]

impl StructuralEq for LinearMipmapNearest[src]

impl StructuralPartialEq for LinearMipmapNearest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.