Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a texture assigned to a stage for a device.
object.GetTexture( _ Stage As Long) As Direct3DBaseTexture8
A Direct3DBaseTexture8 object, representing the returned texture.
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.SetTexture, Direct3DDevice8.GetTextureStageState, Direct3DDevice8.SetTextureStageState