CONST_D3DCAPSTEXTUREADDRESS
The CONST_D3DCAPSTEXTUREADDRESS enumeration defines texture addressing capability flags that are combined and present in the lTextureAddressCaps member of the D3DPRIMCAPS type.
Enum CONST_D3DCAPSTEXTUREADDRESS
D3DPTADDRESSCAPS_BORDER = 8
D3DPTADDRESSCAPS_CLAMP = 4
D3DPTADDRESSCAPS_INDEPENDENTUV = 16
D3DPTADDRESSCAPS_MIRROR = 2
D3DPTADDRESSCAPS_WRAP = 1
End Enum
- D3DPTADDRESSCAPS_BORDER
- Device supports setting coordinates outside the range [0.0, 1.0] to the border color, as specified by the D3DTSS_BORDERCOLOR texture stage state. This ability corresponds to the D3DTADDRESS_BORDER texture-addressing mode.
- D3DPTADDRESSCAPS_CLAMP
- Device can clamp textures to addresses.
- D3DPTADDRESSCAPS_INDEPENDENTUV
- Device can separate the texture-addressing modes of the u and v coordinates of the texture. This ability corresponds to the D3DTSS_ADDRESSU and D3DTSS_ADDRESSV render-state values.
- D3DPTADDRESSCAPS_MIRROR
- Device can mirror textures to addresses.
- D3DPTADDRESSCAPS_WRAP
- Device can wrap textures to addresses.