Enum nannou::ui::backend::glium::glium::uniforms::MagnifySamplerFilter [−][src]
pub enum MagnifySamplerFilter { Nearest, Linear, }
The function that the GPU will use when loading the value of a texel.
Variants
Nearest
The nearest texel will be loaded.
Linear
All nearby texels will be loaded and their values will be merged.
Trait Implementations
impl Hash for MagnifySamplerFilter
[src]
impl Hash for MagnifySamplerFilter
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 MagnifySamplerFilter
[src]
impl Clone for MagnifySamplerFilter
fn clone(&self) -> MagnifySamplerFilter
[src]
fn clone(&self) -> MagnifySamplerFilter
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 MagnifySamplerFilter
[src]
impl Debug for MagnifySamplerFilter
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 MagnifySamplerFilter
[src]
impl Copy for MagnifySamplerFilter
impl Eq for MagnifySamplerFilter
[src]
impl Eq for MagnifySamplerFilter
impl PartialEq<MagnifySamplerFilter> for MagnifySamplerFilter
[src]
impl PartialEq<MagnifySamplerFilter> for MagnifySamplerFilter
Auto Trait Implementations
impl Send for MagnifySamplerFilter
impl Send for MagnifySamplerFilter
impl Sync for MagnifySamplerFilter
impl Sync for MagnifySamplerFilter