Microsoft DirectX 8.1 (C++)

IDirect3DBaseTexture8::GetLevelCount

Returns the number of texture levels in a multilevel texture.

DWORD GetLevelCount();

Parameters

None.

Return Values

A DWORD value indicating the number of texture levels in a multilevel texture.

Applies To

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

Requirements

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