> ## 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 a parte de um buffer de estêncil de profundidade para gravar dados de profundidade.

Identifica a parte de um buffer de estêncil de profundidade para gravar dados de profundidade.

## Sintaxe

```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 | Descrição |
| - | - |
| D3D12\_DEPTH\_WRITE\_MASK\_ZERO | Desativa as gravações no buffer de estêncil de profundidade. |
| D3D12\_DEPTH\_WRITE\_MASK\_ALL | Ativa as gravações no buffer de estêncil de profundidade. |

## Comentários

Essa enumeração é usada pela estrutura [D3D12\_DEPTH\_STENCIL\_DESC](/pt-BR/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc_public).

## Requisitos

**Cabeçalho:** d3d12\_xs.h ou d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib ou d3d12\_x.lib\
**Plataformas com suporte**: consoles XBOX Series e família XBOX One

## Confira também

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

[Enumerações principais](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

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