ID3D11DepthStencilView Interface

A depth-stencil-view interface accesses a texture resource during depth-stencil testing.

Syntax

interface ID3D11DepthStencilView : public ID3D11View  

Remarks

To create a depth-stencil view, call ID3D11Device::CreateDepthStencilView.

To bind a depth-stencil view to the pipeline, call ID3D11DeviceContext::OMSetRenderTargets.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DepthStencilView Members