Microsoft DirectX 9.0 SDK Update (October 2004)

Wrap Texture Address Mode

Language:

Note: This documentation is preliminary and is subject to change.

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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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