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

# SetComputeRootSignature

> Define o layout da assinatura raiz de computação.

Define o layout da assinatura raiz de computação.

## Sintaxe

```cpp theme={null}
void SetComputeRootSignature(
    ID3D12RootSignature  pRootSignature
)
```

### Parâmetros

*pRootSignature \[in, optional]*\
Tipo: ID3D12RootSignature \*

Um ponteiro para o objeto [ID3D12RootSignature](/pt-BR/reference/graphics/d3d12/interfaces/id3d12rootsignature/id3d12rootsignature_public).

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

- [SetComputeRootDescriptorTable](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootdescriptortable_public.md)
- [SetComputeRootConstantBufferView](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootconstantbufferview_public.md)
- [SetComputeRootShaderResourceView](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootshaderresourceview_public.md)
- [SetComputeRootUnorderedAccessView](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootunorderedaccessview_public.md)
- [SetGraphicsRootSignature](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootsignature_public.md)
