DirectX SDK

CONST_D3D

The CONST_D3D enumeration defines miscellaneous constants.

Enum CONST_D3D 
    D3DDP_MAXTEXCOORD =8
    D3DRENDERSTATE_WRAPBIAS = 128
    D3DWRAPCOORD_0 = 1 
    D3DWRAPCOORD_1 = 2 
    D3DWRAPCOORD_2 = 4 
    D3DWRAPCOORD_3 = 8 
End Enum
D3DDP_MAXTEXCOORD
The maximum number of texture coordinates allowed for a vertex.
D3DRENDERSTATE_WRAPBIAS
A convenience value that can be added to a zero-based index for a texture stage to produce a valid D3DRENDERSTATE_WRAPn value for use with the Direct3DDevice7.SetRenderState and Direct3DDevice7.SetRenderState methods.
D3DWRAPCOORD_0 through D3DWRAPCOORD_3
These cause the system to wrap in the direction of the first, second, third, and fourth dimensions (sometimes referred to at the "s, t, r, and q" directions) for a given texture. These values are used with the D3DRENDERSTATE_WRAP0 through D3DRENDERSTATE_WRAP7 render states.