Microsoft DirectX 8.0 (C++)

IDirect3DCubeTexture8::GetLevelDesc

Retrieves a description of the specified cube texture level

HRESULT GetLevelDesc(
  UINT Level,
  D3DSURFACE_DESC* pDesc
);

Parameters

Level
[in] Specifies a level of a mipmapped cube texture.
pDesc
[out] Pointer to a D3DSURFACE_DESC structure, describing the specified cube 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 D3d8.h.
  Import Library: Use D3d8.lib.

See Also

IDirect3DCubeTexture8::AddDirtyRect, IDirect3DCubeTexture8::LockRect, IDirect3DCubeTexture8::UnlockRect