Enum luminance::texture::MinFilter [] [src]

pub enum MinFilter {
    Nearest,
    Linear,
    NearestMipmapNearest,
    NearestMipmapLinear,
    LinearMipmapNearest,
    LinearMipmapLinear,
}

Minification filter.

Variants

Nearest interpolation.

Linear interpolation between surrounding pixels.

This filter will select the nearest mipmap between two samples and will perform a nearest interpolation afterwards.

This filter will select the nearest mipmap between two samples and will perform a linear interpolation afterwards.

This filter will linearly interpolate between two mipmaps, which selected texels would have been interpolated with a nearest filter.

This filter will linearly interpolate between two mipmaps, which selected texels would have been linarily interpolated as well.

Trait Implementations

impl Clone for MinFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MinFilter
[src]

impl Debug for MinFilter
[src]

Formats the value using the given formatter.