Microsoft DirectX 8.1 (Visual Basic) |
The D3DRS_WRAP0 through D3DRS_WRAP7 render states control texture wrapping for various textures in the device's multitexture cascade. You can set these render states to a combination of the D3DWRAPCOORD_0, D3DWRAPCOORD_1, D3DWRAPCOORD_2, and D3DWRAPCOORD_3 values from the CONST_D3DWRAPFLAGS enumeration to enable wrapping in first, second, third, and fourth directions of the texture. Use a value of zero to disable wrapping altogether. Texture wrapping is disabled in all directions for all texture stages by default.
For a conceptual overview, see Texture Wrapping.