Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a level description of a texture resource.
object.GetLevelDesc( _ Level As Long, _ Desc As D3DSURFACE_DESC)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL if one or more of the parameters are invalid.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.