IDirect3DVolumeTexture9::GetLevelDesc method

Retrieves a level description of a volume texture resource.

Syntax


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

Parameters

Level [in]

Type: UINT

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

pDesc [out]

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

Header

D3D9.h

Library

D3D9.lib

See also

IDirect3DVolumeTexture9

 

 

Show: