Enum glium::uniforms::SamplerWrapFunction
[−]
[src]
pub enum SamplerWrapFunction {
Repeat,
Mirror,
Clamp,
MirrorClamp,
}Function to use for out-of-bounds samples.
This is how GL must handle samples that are outside the texture.
Variants
RepeatSamples at coord x + 1 map to coord x.
MirrorSamples at coord x + 1 map to coord 1 - x.
ClampSamples at coord x + 1 map to coord 1.
MirrorClampSame as Mirror, but only for one repetition,
Trait Implementations
impl Debug for SamplerWrapFunction[src]
impl Clone for SamplerWrapFunction[src]
fn clone(&self) -> SamplerWrapFunction[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for SamplerWrapFunction[src]
impl Hash for SamplerWrapFunction[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for SamplerWrapFunction[src]
fn eq(&self, __arg_0: &SamplerWrapFunction) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.