Enum TextureAddressMode
Represents how texture coordinates outside the range from 0 to 1 are handled
public enum TextureAddressMode
Fields
Auto = 0Wrapping is enabled if the texture coordinates are outside the range from 0 to 1
Clamp = 1The texture coordinates are clamped to the range from 0 to 1
Invalid = -1Invalid address mode
Wrap = 2The texture coordinates are wrapped around resulting the texture being repeated (tiled)
Remarks
This is primarily used in TryRenderGeometry(ReadOnlySpan<Vertex>, Texture?) and any of the other texture rendering methods.
Texture wrapping is always supported for power-of-two texture sizes, and is supported for other texture sizes if SupportsNonPowerOfTwoTextureWrapping is set to true.