[][src]Enum glium::uniforms::MinifySamplerFilter

[]
pub enum MinifySamplerFilter {
    Nearest,
    Linear,
    NearestMipmapNearest,
    LinearMipmapNearest,
    NearestMipmapLinear,
    LinearMipmapLinear,
}
[]

The function that the GPU will use when loading the value of a texel.

Variants

Nearest
[]

The nearest texel will be loaded.

Only uses the main texture, mipmaps are totally ignored.

Linear
[]

All nearby texels will be loaded and their values will be merged.

Only uses the main texture, mipmaps are totally ignored.

NearestMipmapNearest
[]

The nearest texel of the nearest mipmap will be loaded.

LinearMipmapNearest
[]

Takes the nearest texel from the two nearest mipmaps, and merges them.

NearestMipmapLinear
[]

Same as Linear, but from the nearest mipmap.

LinearMipmapLinear
[]

Same as Linear, but from the two nearest mipmaps.

Trait Implementations

impl Clone for MinifySamplerFilter[src][+]

impl Copy for MinifySamplerFilter[src]

impl Debug for MinifySamplerFilter[src][+]

impl Eq for MinifySamplerFilter[src]

impl Hash for MinifySamplerFilter[src][+]

impl PartialEq<MinifySamplerFilter> for MinifySamplerFilter[src][+]

impl StructuralEq for MinifySamplerFilter[src]

impl StructuralPartialEq for MinifySamplerFilter[src]

Auto Trait Implementations

impl RefUnwindSafe for MinifySamplerFilter

impl Send for MinifySamplerFilter

impl Sync for MinifySamplerFilter

impl Unpin for MinifySamplerFilter

impl UnwindSafe for MinifySamplerFilter

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> Content for T where
    T: Copy
[src][+]

type Owned = T

A type that holds a sized version of the content.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.