Microsoft DirectX 8.1 (C++) |
Returns a value clamped to the maximum level of detail (LOD) set for a managed texture.
DWORD GetLOD();
None.
A DWORD value, clamped to the maximum LOD value (one less than the total number of levels).
This method applies to the following interfaces, which inherit from IDirect3DBaseTexture8.
GetLOD is used for LOD control of managed textures. This method returns 0 on nonmanaged textures.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.