Skip to main content
Describes a binding (fixed for the duration of the render pass) to a depth stencil view (DSV), as well as its beginning and ending access characteristics.

Syntax

Members

cpuDescriptor
Type: D3D12_CPU_DESCRIPTOR_HANDLE
A D3D12_CPU_DESCRIPTOR_HANDLE. The CPU descriptor handle corresponding to the depth stencil view (DSV). DepthBeginningAccess
Type: D3D12_RENDER_PASS_BEGINNING_ACCESS
A D3D12_RENDER_PASS_BEGINNING_ACCESS. The access to the depth buffer requested at the transition into a render pass. StencilBeginningAccess
Type: D3D12_RENDER_PASS_BEGINNING_ACCESS
A D3D12_RENDER_PASS_BEGINNING_ACCESS. The access to the stencil buffer requested at the transition into a render pass. DepthEndingAccess
Type: D3D12_RENDER_PASS_ENDING_ACCESS
A D3D12_RENDER_PASS_ENDING_ACCESS. The access to the depth buffer requested at the transition out of a render pass. StencilEndingAccess
Type: D3D12_RENDER_PASS_ENDING_ACCESS
A D3D12_RENDER_PASS_ENDING_ACCESS. The access to the stencil buffer requested at the transition out of a render pass.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Rendering
Last modified on August 20, 2026