# D3D12CommandList::SetDescriptorHeaps ```cpp void SetDescriptorHeaps(uint32_t count, ID3D12DescriptorHeap** heaps); ``` 设置多个描述符堆。 **参数:** - `count` - 描述符堆数量 - `heaps` - 描述符堆指针数组 **复杂度:** O(n) ## 相关文档 - [D3D12CommandList 总览](command-list.md) - 返回类总览