Microsoft DirectX 8.1 (Visual Basic) |
Returns the number of texture levels in a multilevel texture.
object.GetLevelCount() As Long
A Long value, indicating the number of texture levels in a multilevel 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.
This method applies to the following classes, which implement methods from Direct3DBaseTexture8.