Enum nannou::ui::backend::glium::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
impl Hash for MinifySamplerFilter
[src]
impl Hash for MinifySamplerFilter
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for MinifySamplerFilter
[src]
impl Clone for MinifySamplerFilter
fn clone(&self) -> MinifySamplerFilter
[src]
fn clone(&self) -> MinifySamplerFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MinifySamplerFilter
[src]
impl Debug for MinifySamplerFilter
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for MinifySamplerFilter
[src]
impl Copy for MinifySamplerFilter
impl Eq for MinifySamplerFilter
[src]
impl Eq for MinifySamplerFilter
impl PartialEq<MinifySamplerFilter> for MinifySamplerFilter
[src]
impl PartialEq<MinifySamplerFilter> for MinifySamplerFilter
Auto Trait Implementations
impl Send for MinifySamplerFilter
impl Send for MinifySamplerFilter
impl Sync for MinifySamplerFilter
impl Sync for MinifySamplerFilter