ID3D10EffectRenderTargetViewVariable::SetRenderTarget method (d3d10effect.h)

Set a render-target.

Syntax

HRESULT SetRenderTarget(
  ID3D10RenderTargetView *pResource
);

Parameters

pResource

Type: ID3D10RenderTargetView*

A pointer to a render-target-view interface. See ID3D10RenderTargetView Interface.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

   
Target Platform Windows
Header d3d10effect.h (include D3d10)

See also

ID3D10EffectRenderTargetViewVariable Interface