Enum gltf_json::texture::WrappingMode []

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

Returns the corresponding OpenGL enum value.

Trait Implementations

impl Clone for WrappingMode

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for WrappingMode

impl Debug for WrappingMode

Formats the value using the given formatter.

impl Default for WrappingMode

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