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

# OMSetStencilRef

> Establece el valor de referencia para las pruebas de galería de símbolos de profundidad.

Establece el valor de referencia para las pruebas de galería de símbolos de profundidad.

## Sintaxis

```cpp theme={null}
void OMSetStencilRef(
    UINT StencilRef
)
```

### Parámetros

*StencilRef \[in]*\
Tipo: UINT

Valor de referencia con el que se compara al realizar una prueba de galería de símbolos de profundidad.

### Valor devuelto

Tipo: void

Ninguno.

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

[ID3D12GraphicsCommandList](/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [D3D12_DEPTH_STENCIL_DESC](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc_public.md)
- [CreateDepthStencilView](/es/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createdepthstencilview_public.md)
- [D3D12_DEPTH_STENCIL_DESC1](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_desc1_public.md)
- [D3D12_DEPTH_STENCIL_VALUE](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_value_public.md)
- [D3D12_DEPTH_STENCIL_VIEW_DESC](/es/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public.md)
