Enum gltf_json::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 Copy for WrappingMode
[src]

impl Debug for WrappingMode
[src]

Formats the value using the given formatter. Read more

impl Default for WrappingMode
[src]

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

impl Serialize for WrappingMode
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations