| DirectX SDK |
The Direct3DDevice7.SetTextureStageState method sets the state value for a currently assigned texture.
object.SetTextureStageState( _
stage As Long, _
state As CONST_D3DTEXTURESTAGESTATETYPE, _
value As Long)
If the method fails, an error is raised and Err.Number may be set to one of the following values:
| DDERR_INVALIDOBJECT |
| DDERR_INVALIDPARAMS |
Applications should use this method to set texture states in favor of the legacy texture-related render states. For more information, see About Render States.
Direct3DDevice7.GetTextureStageState, Direct3DDevice7.GetTexture, Direct3DDevice7.SetTexture, Textures