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

# SetComputeRootConstantBufferView

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

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

## Sintaxis

```cpp theme={null}
void SetComputeRootConstantBufferView(
    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

Especifica el valor D3D12\_GPU\_VIRTUAL\_ADDRESS del búfer de constantes.

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

- [SetGraphicsRootConstantBufferView](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootconstantbufferview_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)
- [SetComputeRoot32BitConstant](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstant_public.md)
- [SetComputeRoot32BitConstants](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputeroot32bitconstants_public.md)
