Enum radiant_rs::TextureWrap [−][src]
pub enum TextureWrap { Repeat, Mirror, Clamp, MirrorClamp, }
Texture wrapping function.
Variants
Repeat
Samples at coord x + 1 map to coord x.
Mirror
Samples at coord x + 1 map to coord 1 - x.
Clamp
Samples at coord x + 1 map to coord 1.
MirrorClamp
Same as Mirror, but only for one repetition.
Trait Implementations
impl Copy for TextureWrap
[src]
impl Copy for TextureWrap
impl Clone for TextureWrap
[src]
impl Clone for TextureWrap
fn clone(&self) -> TextureWrap
[src]
fn clone(&self) -> TextureWrap
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 Debug for TextureWrap
[src]
impl Debug for TextureWrap
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 PartialEq for TextureWrap
[src]
impl PartialEq for TextureWrap
Auto Trait Implementations
impl Send for TextureWrap
impl Send for TextureWrap
impl Sync for TextureWrap
impl Sync for TextureWrap