Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DPTADDRESSCAPSFLAGS

Defines texture-addressing capabilities.

Enum CONST_D3DPTADDRESSCAPSFLAGS
    D3DPTADDRESSCAPS_WRAP          =  1
    D3DPTADDRESSCAPS_MIRROR        =  2
    D3DPTADDRESSCAPS_CLAMP         =  4
    D3DPTADDRESSCAPS_BORDER        =  8
    D3DPTADDRESSCAPS_INDEPENDENTUV = 16 (&H10)
    D3DPTADDRESSCAPS_MIRRORONCE    = 32 (&H20)
End Enum

Constants

D3DPTADDRESSCAPS_WRAP
Device can wrap textures to addresses.
D3DPTADDRESSCAPS_MIRROR
Device can mirror textures to addresses.
D3DPTADDRESSCAPS_CLAMP
Device can clamp textures to addresses.
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.
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_MIRRORONCE
Device can take the absolute value of the texture coordinate (thus, mirroring around 0), and then clamp to the maximum value.

Remarks

These flags may be combined and present in the TextureAddressCaps member of D3DCAPS8.

See Also

D3DCAPS8