Enum gltf::texture::WrappingMode[][src]

pub enum WrappingMode {
    ClampToEdge,
    MirroredRepeat,
    Repeat,
}

Texture co-ordinate wrapping mode.

Variants

Corresponds to GL_CLAMP_TO_EDGE.

Corresponds to GL_MIRRORED_REPEAT.

Corresponds to GL_REPEAT.

Methods

impl WrappingMode
[src]

Returns the corresponding OpenGL enum value.

Trait Implementations

impl Clone for WrappingMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for WrappingMode
[src]

Returns the "default value" for a type. Read more

impl Debug for WrappingMode
[src]

Formats the value using the given formatter. Read more

impl Copy for WrappingMode
[src]

impl Eq for WrappingMode
[src]

impl PartialEq<WrappingMode> for WrappingMode
[src]

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

This method tests for !=.

impl<'de> Deserialize<'de> for WrappingMode
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for WrappingMode
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations