Enum radiant_rs::TextureWrap[][src]

pub enum TextureWrap {
    Repeat,
    Mirror,
    Clamp,
    MirrorClamp,
}

Texture wrapping function.

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 Copy for TextureWrap
[src]

impl Clone for TextureWrap
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextureWrap
[src]

Formats the value using the given formatter. Read more

impl PartialEq for TextureWrap
[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

impl Send for TextureWrap

impl Sync for TextureWrap