Home -> ITextureSampler -> WrapMode
Description
The WrapMode enumeration defines how texture coordinates outside the normal range are mapped before sampling. It is configured with SetTextureWrapMode.
Members
| Name | Description | |
|---|---|---|
| ClampToEdge |
Clamps coordinates to the nearest edge texel, so samples outside the texture use the edge value.
|
|
| Repeat |
Repeats the texture pattern for coordinates outside the normal range.
|
|
| RepeatMirrored |
Repeats the texture pattern while mirroring every second repetition.
|