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

> Establece un identificador de descriptor de CPU para el búfer de constantes en la firma raíz de gráficos.

Establece un identificador de descriptor de CPU para el búfer de constantes en la firma raíz de gráficos.

## Sintaxis

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

### Parámetros

*RootParameterIndex \[in]*\
Tipo: UINT

El número de ranura para el enlace.

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

La dirección virtual de GPU del búfer de constantes.
D3D12\_GPU\_VIRTUAL\_ADDRESS es un alias definido mediante typedef de UINT64.

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

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