TextureAddress Enumeration
.NET Framework 3.0
Defines constants that describe the supported texture-addressing modes.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
| Member name | Description | |
|---|---|---|
![]() | Border | Texture coordinates outside the range [0.0, 1.0] are set to the border color. |
![]() | Clamp | Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0.0 or 1.0, respectively. |
![]() | Mirror | Similar to Wrap, 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. |
![]() | Wrap | Tiles the texture at every integer junction. For example, for u values between 0 and 3, the texture is repeated three times. No mirroring is performed. |
Community Additions
ADD
Show:
