Enum WrapMode

Specifies how texture coordinates outside the range [0, 1] are handled.

enum WrapMode : int { ... }

Enum members

NameDescription
border Use border color.
clamp Clamp the texture to the value at 0.0 or 1.0 respectively.
mirrorRepeat Mirror the texture. Like tile, but uses abs(coord) before the modulo.
repeat Repeat the texture. That is, sample the coordinate modulo 1.0.