Enum gltf_json::texture::WrappingMode
[−]
pub enum WrappingMode {
ClampToEdge,
MirroredRepeat,
Repeat,
}Texture co-ordinate wrapping mode.
Variants
ClampToEdgeCorresponds to GL_CLAMP_TO_EDGE.
MirroredRepeatCorresponds to GL_MIRRORED_REPEAT.
RepeatCorresponds to GL_REPEAT.
Methods
impl WrappingMode
fn as_gl_enum(&self) -> i32
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for WrappingMode
fn clone(&self) -> WrappingMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more