Microsoft DirectX 8.1 (Visual Basic)

Texture Stage States

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

Microsoft® Visual Basic® applications control the characteristics of the texture-related rendering states by invoking the Direct3DDevice8.SetTextureStageState method. The CONST_D3DTEXTURESTAGESTATETYPE enumeration specifies all possible texture-related rendering states. Your application passes a value from the CONST_D3DRENDERSTATETYPE enumeration as the first parameter to the SetTextureStageState method.

Applications set the texture for a stage by calling the Direct3DDevice8.SetTexture method.

Additional information is contained in the following topics.