ID3D10EffectDepthStencilViewVariable::SetDepthStencil method (d3d10effect.h)

Set a depth-stencil-view resource.

Syntax

HRESULT SetDepthStencil(
  [in] ID3D10DepthStencilView *pResource
);

Parameters

[in] pResource

Type: ID3D10DepthStencilView*

A pointer to a depth-stencil-view interface. See ID3D10DepthStencilView 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)

See also

ID3D10EffectDepthStencilViewVariable Interface