Enum gfx::device::tex::WrapMode
[−]
[src]
pub enum WrapMode {
Tile,
Mirror,
Clamp,
}Specifies how texture coordinates outside the range [0, 1] are handled.
Variants
Tile | Tile the texture. That is, sample the coordinate modulo |
Mirror | Mirror the texture. Like tile, but uses abs(coord) before the modulo. |
Clamp | Clamp the texture to the value at |