Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a state value for an assigned texture.
object.GetTextureStageState( _ Stage As Long, _ State As CONST_D3DTEXTURESTAGESTATETYPE) As Long
Returns the state value.
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
Direct3DDevice8.SetTextureStageState, Direct3DDevice8.GetTexture, Direct3DDevice8.SetTexture