Enum nannou::ui::backend::glium::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

Samples at coord x + 1 map to coord x.

Samples at coord x + 1 map to coord 1 - x.

Samples at coord x + 1 map to coord 1.

Same as Mirror, but only for one repetition,

Trait Implementations

impl Hash for SamplerWrapFunction
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for SamplerWrapFunction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SamplerWrapFunction
[src]

Formats the value using the given formatter. Read more

impl Copy for SamplerWrapFunction
[src]

impl Eq for SamplerWrapFunction
[src]

impl PartialEq<SamplerWrapFunction> for SamplerWrapFunction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations