# D3D12CommandList::Dispatch 分发计算任务。 ```cpp void Dispatch(uint32_t x, uint32_t y, uint32_t z) override; ``` **参数:** - `x` - X 方向线程组数量 - `y` - Y 方向线程组数量 - `z` - Z 方向线程组数量 ## 相关文档 - [D3D12CommandList 总览](d3d12-command-list.md)