Click or drag to resize

TextureWrap Enumeration

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.2.419.0 (24.2.419.0)
Syntax
public enum TextureWrap
Members
  Member nameDescription
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