Files
XCSDD/docs/api/rhi/command-list/dispatch.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

399 B

RHICommandList::Dispatch

virtual void Dispatch(uint32_t x, uint32_t y, uint32_t z) = 0;

分发计算着色器。

参数:

  • x - X 方向线程组数量
  • y - Y 方向线程组数量
  • z - Z 方向线程组数量

示例:

cmdList->Dispatch(8, 8, 1); // 分发 8x8x1 线程组

相关文档