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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center