IDirect3DVolumeTexture9::GetLevelDesc

Retrieves a level description of a volume texture resource.

HRESULT GetLevelDesc(
  UINT Level,
  D3DVOLUME_DESC * pDesc
);

Parameters

Level
[in] Identifies a level of the volume texture resource. This method returns a volume description for the level specified by this parameter.
pDesc
[out] Pointer to a D3DVOLUME_DESC structure, describing the returned volume texture level.

Return Values

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

Requirements

Header: Declared in D3d9.h.