Microsoft DirectX 8.1 (Visual Basic) |
Returns a value clamped to the maximum level of detail (LOD) set for a managed texture.
object.GetLOD() As Long
A Long value, clamped to the maximum LOD value (one less than the total number of levels).
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.
GetLOD is used for LOD control of managed textures. This method returns 0 on nonmanaged textures.