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

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 Debug for SamplerWrapFunction
[src]

[src]

Formats the value using the given formatter.

impl Clone for SamplerWrapFunction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SamplerWrapFunction
[src]

impl Hash for SamplerWrapFunction
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for SamplerWrapFunction
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for SamplerWrapFunction
[src]