Value | Meaning |
---|---|
ClampToEdge0 | Texture coordinates are clamped between 0.0 and 1.0, inclusive. |
MirrorClampToEdge1 | Between -1.0 and 1.0, the texture coordinates are mirrored across the axis; outside -1.0 and 1.0, texture coordinates are clamped. |
Repeat2 | Texture coordinates wrap to the other side of the texture, effectively keeping only the fractional part of the texture coordinate. |
MirrorRepeat3 | Between -1.0 and 1.0, the texture coordinates are mirrored across the axis; outside -1.0 and 1.0, the image is repeated. |
ClampToZero4 | Out-of-range texture coordinates return transparent zero (0,0,0,0) for images with an alpha channel and return opaque zero (0,0,0,1) for images without an alpha channel. |
ClampToBorderColor5 | Out-of-range texture coordinates return the value specified by the borderColor property. |
Modes that determine the texture coordinate at each pixel when a fetch falls outside the bounds of a texture.