Setting and Retrieving Texture Addressing Modes (Windows Embedded CE 6.0)
1/6/2010
You can set texture addressing modes for individual texture stages by calling the IDirect3DMobileDevice::SetTextureStageState method. Specify the desired texture stage identifier in the first parameter. Set the second parameter to D3DMTSS_ADDRESSU, D3DMTSS_ADDRESSV, or D3DMTSS_ADDRESSW values (see D3DMTEXTURESTAGESTATETYPE) to update the u-, v-, or w-addressing modes individually. The third parameter you pass to SetTextureStageState determines which mode is being set. This can be any member of the D3DMTEXTUREADDRESS enumerated type. To retrieve the current texture address mode for a texture stage, call IDirect3DMobileDevice::GetTextureStageState, using the D3DMTSS_ADDRESSU, D3DMTSS_ADDRESSV, or D3DMTSS_ADDRESSW elements of the D3DMTEXTURESTAGESTATETYPE enumeration to identify the address mode about which you want information.