Enum gltf_json::texture::WrappingMode [−][src]
pub enum WrappingMode { ClampToEdge, MirroredRepeat, Repeat, }
Texture co-ordinate wrapping mode.
Variants
ClampToEdge
Corresponds to GL_CLAMP_TO_EDGE
.
MirroredRepeat
Corresponds to GL_MIRRORED_REPEAT
.
Repeat
Corresponds to GL_REPEAT
.
Methods
impl WrappingMode
[src]
impl WrappingMode
pub fn as_gl_enum(&self) -> u32
[src]
pub fn as_gl_enum(&self) -> u32
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for WrappingMode
[src]
impl Clone for WrappingMode
fn clone(&self) -> WrappingMode
[src]
fn clone(&self) -> WrappingMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for WrappingMode
[src]
impl Copy for WrappingMode
impl Debug for WrappingMode
[src]
impl Debug for WrappingMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for WrappingMode
[src]
impl Default for WrappingMode
impl Serialize for WrappingMode
[src]
impl Serialize for WrappingMode
Auto Trait Implementations
impl Send for WrappingMode
impl Send for WrappingMode
impl Sync for WrappingMode
impl Sync for WrappingMode