Determine how to handle textures coordinates that fall outside of the range
[0, 1].
Namespace:
AGI.Foundation.Graphics.Renderer
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax Public Enumeration TextureWrap
public enum class TextureWrap
Members
| Member name | Description |
---|
| Clamp |
Clamp the texture coordinate to the range [0, 1].
|
| ClampToBorder |
Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N],
where N is the size the texture in the direction of clamping.
|
| ClampToEdge |
Clamp the texture coordinate to the range [1/2N, 1 - 1/2N],
where N is the size the texture in the direction of clamping.
|
| MirroredRepeat |
If the integer part of the texture coordinate is even, use the
fractional part of the texture coordinate. Otherwise, use one minus
the fractional part of the texture coordinate.
|
| Repeat |
Ignore the integer part of the texture coordinate.
|
See Also