A depth-stencil-view interface accesses a texture resource during depth-stencil testing.
interface ID3D11DepthStencilView : public ID3D11View
To create a depth-stencil view, call ID3D11Device::CreateDepthStencilView.
To bind a depth-stencil view to the pipeline, call ID3D11DeviceContext::OMSetRenderTargets.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).