Enum gfx_core::tex::WrapMode
[−]
[src]
pub enum WrapMode {
Tile,
Mirror,
Clamp,
Border,
}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 | |
Border | Use border color. |