# D3D12CommandList::GetCommandList ```cpp ID3D12GraphicsCommandList* GetCommandList() const { return m_commandList.Get(); } ``` 获取底层的 D3D12 图形命令列表接口。 **返回:** `ID3D12GraphicsCommandList*` **复杂度:** O(1) ## 相关文档 - [D3D12CommandList 总览](command-list.md) - 返回类总览