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

# SetGraphicsRoot32BitConstant

> Define uma constante na assinatura raiz de gráficos.

Define uma constante na assinatura raiz de gráficos.

## Sintaxe

```cpp theme={null}
void SetGraphicsRoot32BitConstant(
    UINT RootParameterIndex,
    UINT SrcData,
    UINT DestOffsetIn32BitValues
)
```

### Parâmetros

*RootParameterIndex \[in]*\
Tipo: UINT

O número do slot para associação.

*SrcData \[in]*\
Tipo: UINT

Os dados de origem da constante a ser definida.

*DestOffsetIn32BitValues \[in]*\
Tipo: UINT

O deslocamento, em valores de 32 bits, para definir a constante na assinatura raiz.

### Valor retornado

Tipo: void

Nenhum.

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

[ID3D12GraphicsCommandList](/pt-BR/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [SetGraphicsRoot32BitConstants](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsroot32bitconstants_public.md)
- [SetComputeRoot32BitConstant](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstant_public.md)
- [SetComputeRoot32BitConstants](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstants_public.md)
- [D3D12_ROOT_CONSTANTS](/pt-BR/reference/graphics/d3d12/structs/d3d12_root_constants_public.md)
- [D3D12_SHADER_MIN_PRECISION_SUPPORT](/pt-BR/reference/graphics/d3d12/enums/d3d12_shader_min_precision_support_public.md)
