IDirect3DBaseTexture9::GetLOD method (d3d9.h)

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

Syntax

DWORD GetLOD();

Parameters

This method has no parameters.

Return value

Type: DWORD

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

Requirements

   
Target Platform Windows
Header d3d9.h (include D3D9.h)
Library D3D9.lib

See also

IDirect3DBaseTexture9