Microsoft DirectX 8.1 (C++)

IDirect3DBaseTexture8::GetLOD

Returns a value clamped to the maximum level of detail (LOD) set for a managed texture.

DWORD GetLOD();

Parameters

None.

Return Values

A DWORD value, clamped to the maximum LOD value (one less than the total number of levels).

Applies To

This method applies to the following interfaces, which inherit from IDirect3DBaseTexture8.

Remarks

GetLOD is used for LOD control of managed textures. This method returns 0 on nonmanaged textures.

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.

See Also

IDirect3DBaseTexture8::SetLOD