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

# SetGraphicsRoot32BitConstant

> Définit une constante dans la signature racine graphique.

Définit une constante dans la signature racine graphique.

## Syntaxe

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

### Paramètres

*RootParameterIndex \[in]*\
Type : UINT

Le numéro d'emplacement pour la liaison.

*SrcData \[in]*\
Type : UINT

Les données sources de la constante à définir.

*DestOffsetIn32BitValues \[in]*\
Type : UINT

Le décalage, en valeurs de 32 bits, auquel définir la constante dans la signature racine.

### Valeur de retour

Type : void

Aucune.

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

[ID3D12GraphicsCommandList](https://docs.xbox.com/fr-CA/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs.md)


## Related topics

- [SetGraphicsRoot32BitConstants](https://docs.xbox.com/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsroot32bitconstants_public.md)
- [SetComputeRoot32BitConstant](https://docs.xbox.com/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstant_public.md)
- [SetComputeRoot32BitConstants](https://docs.xbox.com/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstants_public.md)
- [SetGraphicsRootConstantBufferView](https://docs.xbox.com/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootconstantbufferview_public.md)
- [D3D12_ROOT_CONSTANTS](https://docs.xbox.com/fr-CA/reference/graphics/d3d12/structs/d3d12_root_constants_public.md)
