Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

You can set texture addressing modes for individual texture stages by calling the IDirect3DMobileDevice::SetTextureStageStatemethod. 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 SetTextureStageStatedetermines which mode is being set. This can be any member of the D3DMTEXTUREADDRESSenumerated 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 D3DMTEXTURESTAGESTATETYPEenumeration to identify the address mode about which you want information.

See Also