WrapMode enumeration

WrapMode enumeration

Texture’s wrap mode.

The WrapMode type exposes the following members:

Fields

FieldDescription
WRAPTiles the texture on the model’s surface, creating a repeating pattern.
CLAMPClamps the texture to the last pixel at the border.
MIRRORThe texture will be repeated, but it will be mirrored when the integer part of the coordinate is odd.
MIRROR_ONCEThe texture will be mirrored once, and then clamps to the maximum value.
BORDERThe coordinates that outside of the range [0.0, 1.0] are set to a specified border color.

See Also