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

# SetGraphicsRootConstantBufferView

> Définit un handle de descripteur CPU pour la mémoire tampon de constantes dans la signature racine graphique.

Définit un handle de descripteur CPU pour la mémoire tampon de constantes dans la signature racine graphique.

## Syntaxe

```cpp theme={null}
void SetGraphicsRootConstantBufferView(
    UINT RootParameterIndex,
    D3D12_GPU_VIRTUAL_ADDRESS BufferLocation
)
```

### Paramètres

*RootParameterIndex \[in]*\
Type : UINT

Le numéro d'emplacement pour la liaison.

*BufferLocation \[in]*\
Type : D3D12\_GPU\_VIRTUAL\_ADDRESS

L'adresse virtuelle GPU de la mémoire tampon de constantes.
D3D12\_GPU\_VIRTUAL\_ADDRESS est un alias défini par typedef de UINT64.

### 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](/fr-CA/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [SetComputeRootConstantBufferView](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootconstantbufferview_public.md)
- [SetGraphicsRootUnorderedAccessView](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootunorderedaccessview_public.md)
- [SetGraphicsRootShaderResourceView](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootshaderresourceview_public.md)
- [SetComputeRootShaderResourceView](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootshaderresourceview_public.md)
- [SetComputeRootUnorderedAccessView](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootunorderedaccessview_public.md)
