DirectX SDK |
The Direct3DDevice7.SetTextureStageStateSingle method sets the state value for a currently assigned texture.
object.SetTextureStageStateSingle( _ stage As Long, _ state As CONST_D3DTEXTURESTAGESINGLE, _ value As Single)
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.GetTextureStageStateSingle, Direct3DDevice7.GetTextureStageState, Direct3DDevice7.GetTexture, Direct3DDevice7.SetTexture, Textures