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

# SetComputeRootDescriptorTable

> 將描述元表格設定到計算根簽章中。

將描述元表格設定到計算根簽章中。

## 語法

```cpp theme={null}
void SetComputeRootDescriptorTable(
    UINT RootParameterIndex,
    D3D12_GPU_DESCRIPTOR_HANDLE BaseDescriptor
)
```

### 參數

*RootParameterIndex \[in]*\
類型：UINT

用於繫結的位置編號。

*BaseDescriptor \[in]*\
類型：D3D12\_GPU\_DESCRIPTOR\_HANDLE

要設定之基底描述元的 GPU\_descriptor\_handle 物件。

### 傳回值

類型：void

無。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [D3D12_GPU_DESCRIPTOR_HANDLE](/zh-TW/reference/graphics/d3d12/structs/d3d12_gpu_descriptor_handle_public.md)
- [SetGraphicsRootDescriptorTable](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootdescriptortable_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_descriptor_table_public.md)
- [D3D12_ROOT_DESCRIPTOR_TABLE1](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_descriptor_table1_public.md)
- [SetComputeRootSignature](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootsignature_public.md)
