Share via


Texture Stage States (Windows CE 5.0)

Send Feedback

Texture stage states control the style of texturing and how texture filtering is done.

Applications control the characteristics of the texture-related render states by invoking the IDirect3DMobileDevice::SetTextureStageState method. The D3DMTEXTURESTAGESTATETYPE enumerated type specifies all the possible texture-related rendering states. Your application passes a value from the D3DMTEXTURESTAGESTATETYPE enumeration as the first parameter to the SetTextureStageState method.

Applications set the texture for a stage by calling the IDirect3DMobileDevice::SetTextureStageState method.

Texture Addressing State

Applications use the D3DMTSS_ADDRESSU, D3DMTSS_ADDRESSV, and D3DMTSS_ADDRESSW texture stage states to set the texture addressing.

Texture Border State

Applications use the D3DMTSS_BORDERCOLOR texture stage state to set border color texture addressing.

For more information, see Border Color Texture Address Mode.

Texture Filtering State

Applications use the D3DMTSS_MAGFILTER, D3DMTSS_MINFILTER, and D3DMTSS_MIPFILTER texture-stage states to control texture filtering.

Texture Blending State

Applications use the texture blending states defined by the D3DMTSS_COLOROP and D3DMTSS_ALPHAOP texture stage states to control texture blending.

For more information, see Multiple Texture Blending.

See Also

Device States

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.