Share via


Wrap Texture Address Mode

The wrap texture address mode, identified by the TextureAddress.Wrap enumerated value, makes Microsoft Direct3D repeat the texture on every integer junction. Suppose, for example, that an application creates a square primitive and specifies texture coordinates of (0.0,0.0), (0.0,3.0), (3.0,3.0), and (3.0,0.0). Setting the texture address mode to TextureAddress.Wrap results in the texture being applied three times in both the u-direction and the v-direction, as shown in the following illustration.

Faces wrapped

The effects of this texture address mode are similar to, but distinct from, those of the mirror mode. For more information, see Mirror Texture Address Mode.