Share via


IDirect3DMobileTexture::GetLevelDesc (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a level description of a texture resource.

Syntax

HRESULT GetLevelDesc(
  UINT Level,
  D3DMSURFACE_DESC* pDesc
);

Parameters

  • Level
    [in] Identifies a level of the texture resource. This method returns a surface description for the level specified by this parameter.
  • pDesc
    [out] Pointer to a D3DMSURFACE_DESC structure that describes the returned level.

Return Value

If the method succeeds, the return value is D3DM_OK (see D3DM Values).

If the method fails, the return value can be D3DMERR_INVALIDCALL (see D3DMERR Values).

Requirements

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IDirect3DMobileTexture
D3DMSURFACE_DESC