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]

[src]

Returns the corresponding OpenGL enum value.

Trait Implementations

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

[src]

impl Clone for WrappingMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for WrappingMode
[src]

impl Debug for WrappingMode
[src]

[src]

Formats the value using the given formatter.

impl Default for WrappingMode
[src]