ID3D10EffectRenderTargetViewVariable::SetRenderTarget method (d3d10effect.h)
Set a render-target.
Syntax
HRESULT SetRenderTarget(
[in] ID3D10RenderTargetView *pResource
);
Parameters
[in] 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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h (include D3d10) |