> ## 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_DEPTH_WRITE_MASK

> Identifica la parte de un búfer de galería de símbolos de profundidad para escribir datos de profundidad.

Identifica la parte de un búfer de galería de símbolos de profundidad para escribir datos de profundidad.

## Sintaxis

```cpp theme={null}
typedef enum D3D12_DEPTH_WRITE_MASK
{
    D3D12_DEPTH_WRITE_MASK_ZERO = 0,
    D3D12_DEPTH_WRITE_MASK_ALL = 1
} D3D12_DEPTH_WRITE_MASK
```

## Constantes

| Constante                       | Descripción                                                                 |
| ------------------------------- | --------------------------------------------------------------------------- |
| D3D12\_DEPTH\_WRITE\_MASK\_ZERO | Desactiva las escrituras en el búfer de galería de símbolos de profundidad. |
| D3D12\_DEPTH\_WRITE\_MASK\_ALL  | Activa las escrituras en el búfer de galería de símbolos de profundidad.    |

## Comentarios

Esta enumeración la usa la estructura [D3D12\_DEPTH\_STENCIL\_DESC](/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc_public).

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

[CD3DX12\_DEPTH\_STENCIL\_DESC](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-depth-stencil-desc)

[Enumeraciones principales](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

- [D3D12_DEPTH_STENCIL_DESC](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc_public.md)
- [D3D12_DEPTH_STENCIL_DESC1](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc1_public.md)
- [D3D12_NODE_MASK](/es/reference/graphics/d3d12/structs/d3d12_node_mask_public.md)
- [D3D12_DEPTH_STENCILOP_DESC](/es/reference/graphics/d3d12/structs/d3d12_depth_stencilop_desc_public.md)
- [D3D12_DEPTH_STENCIL_VALUE](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_value_public.md)
