Microsoft DirectX 8.1 (C++)

ID3DXRenderToEnvMap::GetDesc

Retrieves the description of the render surface.

HRESULT GetDesc(
  D3DXRTE_DESC* pDesc
);

Parameters

pDesc

[out] Pointer to a D3DXRTE_DESC structure that describes the rendering surface.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.