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

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

Derived Implementations

impl Eq for MinifySamplerFilter

impl PartialEq for MinifySamplerFilter

fn eq(&self, __arg_0: &MinifySamplerFilter) -> bool

fn ne(&self, __arg_0: &MinifySamplerFilter) -> bool

impl Hash for MinifySamplerFilter

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Copy for MinifySamplerFilter

impl Clone for MinifySamplerFilter

fn clone(&self) -> MinifySamplerFilter

fn clone_from(&mut self, source: &Self)

impl Debug for MinifySamplerFilter

fn fmt(&self, __arg_0: &mut Formatter) -> Result