> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_RENDER_PASS_DEPTH_STENCIL_DESC

> Décrit une liaison (fixe pendant toute la durée de la passe de rendu) à une vue de profondeur-gabarit (DSV), ainsi que ses caractéristiques d'accès de début et de fin.

Décrit une liaison (fixe pendant toute la durée de la passe de rendu) à une vue de profondeur-gabarit (DSV), ainsi que ses caractéristiques d'accès de début et de fin.

## Syntaxe

```cpp theme={null}
typedef struct D3D12_RENDER_PASS_DEPTH_STENCIL_DESC
{
    D3D12_CPU_DESCRIPTOR_HANDLE cpuDescriptor;
    D3D12_RENDER_PASS_BEGINNING_ACCESS DepthBeginningAccess;
    D3D12_RENDER_PASS_BEGINNING_ACCESS StencilBeginningAccess;
    D3D12_RENDER_PASS_ENDING_ACCESS DepthEndingAccess;
    D3D12_RENDER_PASS_ENDING_ACCESS StencilEndingAccess;
} D3D12_RENDER_PASS_DEPTH_STENCIL_DESC
```

### Membres

*cpuDescriptor*\
Type : D3D12\_CPU\_DESCRIPTOR\_HANDLE

Une structure [D3D12\_CPU\_DESCRIPTOR\_HANDLE](/fr-CA/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public). Le handle de descripteur CPU correspondant à la vue de profondeur-gabarit (DSV).

*DepthBeginningAccess*\
Type : D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS

Une structure [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS](/fr-CA/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public). L'accès au tampon de profondeur demandé lors de la transition vers une passe de rendu.

*StencilBeginningAccess*\
Type : D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS

Une structure [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS](/fr-CA/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public). L'accès au tampon de gabarit demandé lors de la transition vers une passe de rendu.

*DepthEndingAccess*\
Type : D3D12\_RENDER\_PASS\_ENDING\_ACCESS

Une structure [D3D12\_RENDER\_PASS\_ENDING\_ACCESS](/fr-CA/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public). L'accès au tampon de profondeur demandé lors de la transition hors d'une passe de rendu.

*StencilEndingAccess*\
Type : D3D12\_RENDER\_PASS\_ENDING\_ACCESS

Une structure [D3D12\_RENDER\_PASS\_ENDING\_ACCESS](/fr-CA/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public). L'accès au tampon de gabarit demandé lors de la transition hors d'une passe de rendu.

## Configuration requise

**En-tête :** d3d12\_xs.h ou d3d12\_x.h\
**Bibliothèque :** d3d12\_xs.lib ou d3d12\_x.lib\
**Plateformes prises en charge :** consoles XBOX Series et famille XBOX One

## Voir aussi

[Rendu](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/rendering)


## Related topics

- [BeginRenderPass (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_beginrenderpass_public.md)
- [D3D12_DEPTH_STENCIL_DESC](/fr-CA/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc_public.md)
- [D3D12_DEPTH_STENCIL_DESC1](/fr-CA/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc1_public.md)
- [D3D12_DEPTH_STENCILOP_DESC](/fr-CA/reference/graphics/d3d12/structs/d3d12_depth_stencilop_desc_public.md)
- [D3D12_DEPTH_STENCIL_VIEW_DESC](/fr-CA/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public.md)
