Platform SDK: DirectX |
The Direct3DDevice7.GetTextureStageStateSingle method retrieves a state value for a currently assigned texture, as type Single.
object.GetTextureStageStateSingle( _ stage As Long, _ state As CONST_D3DTEXTURESTAGESINGLE) As Single
If the method succeeds, the return value is the state value.
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
For information on trapping errors, see the Visual Basic Error Trapping topic.
Direct3DDevice7.SetTextureStageState, Direct3DDevice7.SetTextureStageStateSingle, Direct3DDevice7.GetTexture, Direct3DDevice7.SetTexture, Textures