Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DTADDRESS_ Values

Describes the supported texture address for the D3DRENDERSTATE_TEXTUREADDRESS render state.

D3DTADDRESS_CLAMP
Texture coordinates greater than 1.0 are set to 1.0, and values less than 0.0 are set to 0.0.
D3DTADDRESS_MIRROR
Equivalent to a tiling texture-addressing mode (that is, when neither D3DRENDERSTATE_WRAPU nor D3DRENDERSTATE_WRAPV is used), except that the texture is flipped at every integer junction. For u-values between 0 and 1, for example, the texture is addressed normally; between 1 and 2, the texture is flipped (mirrored); between 2 and 3, the texture is normal again, and so on.
D3DTADDRESS_WRAP
The D3DRENDERSTATE_WRAPU and D3DRENDERSTATE_WRAPV render states are used. This is the default setting.


© 1997 Microsoft Corporation. All rights reserved. Terms of Use.