# D3D12CommandList::SetGraphicsRootDescriptorTable ```cpp void SetGraphicsRootDescriptorTable(uint32_t rootParameterIndex, D3D12_GPU_DESCRIPTOR_HANDLE baseDescriptor); ``` 设置图形根描述符表。 **参数:** - `rootParameterIndex` - 根参数索引 - `baseDescriptor` - GPU 描述符句柄 **复杂度:** O(1) ## 相关文档 - [D3D12CommandList 总览](command-list.md) - 返回类总览