ID3D11DepthStencilView interface

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

Methods

The ID3D11DepthStencilView interface has these methods.

Method Description
ID3D11DepthStencilView::GetDesc Get the depth-stencil view.

Remarks

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

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

Requirements

   
Windows version Windows 7 [desktop apps | UWP apps] Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also

ID3D11View

Resource Interfaces