Enum gltf_json::texture::WrappingMode
[−]
[src]
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[src]
fn as_gl_enum(&self) -> i32[src]
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for WrappingMode[src]
fn clone(&self) -> WrappingMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more