IDirect3DVolumeTexture9::GetLevelDesc method (d3d9helper.h)

Retrieves a level description of a volume texture resource.

Syntax

HRESULT GetLevelDesc(
  [in]  UINT           Level,
  [out] D3DVOLUME_DESC *pDesc
);

Parameters

[in] Level

Type: UINT

Identifies a level of the volume texture resource. This method returns a volume description for the level specified by this parameter.

[out] pDesc

Type: D3DVOLUME_DESC*

Pointer to a D3DVOLUME_DESC structure, describing the returned volume texture level.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. D3DERR_INVALIDCALL is returned if one or more of the arguments are invalid.

Requirements

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3D9.h)
Library D3D9.lib

See also

IDirect3DVolumeTexture9