Enum raylib_ffi::enums::TextureWrap
source · #[repr(C)]
pub enum TextureWrap {
TEXTUREWRAPREPEAT,
TEXTUREWRAPCLAMP,
TEXTUREWRAPMIRRORREPEAT,
TEXTUREWRAPMIRRORCLAMP,
}Expand description
Texture parameters: wrap mode
Variants§
TEXTUREWRAPREPEAT
Repeats texture in tiled mode
TEXTUREWRAPCLAMP
Clamps texture to edge pixel in tiled mode
TEXTUREWRAPMIRRORREPEAT
Mirrors and repeats the texture in tiled mode
TEXTUREWRAPMIRRORCLAMP
Mirrors and clamps to border the texture in tiled mode
Trait Implementations§
source§impl Clone for TextureWrap
impl Clone for TextureWrap
source§fn clone(&self) -> TextureWrap
fn clone(&self) -> TextureWrap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TextureWrap
impl Debug for TextureWrap
source§impl Hash for TextureWrap
impl Hash for TextureWrap
source§impl PartialEq<TextureWrap> for TextureWrap
impl PartialEq<TextureWrap> for TextureWrap
source§fn eq(&self, other: &TextureWrap) -> bool
fn eq(&self, other: &TextureWrap) -> bool
This method tests for
self and other values to be equal, and is used
by ==.