ID3DXRenderToSurface::GetDesc method

Retrieves the parameters of the render surface.

Syntax


HRESULT GetDesc(
  [out] D3DXRTS_DESC *pParameters
);

Parameters

pParameters [out]

Type: D3DXRTS_DESC*

Pointer to a D3DXRTS_DESC structure, describing the parameters of the render surface.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

Header

D3dx9core.h

Library

D3dx9.lib

See also

ID3DXRenderToSurface

 

 

Show: