IDirect3DBaseTexture9::GetLOD

Returns a value clamped to the maximum level-of-detail set for a managed texture (this method is not supported for an unmanaged texture).

DWORD GetLOD();

Parameters

None.

Return Values

A DWORD value, clamped to the maximum level-of-detail value (one less than the total number of levels). Calling IDirect3DBaseTexture9::GetLOD on an unmanaged texture is not supported and will result in a D3DERR error code being returned.

Requirements

Header: Declared in D3d9.h.