Files
XCEngine/docs/api/rhi/d3d12/command-list/dispatch-indirect-internal.md

31 lines
553 B
Markdown
Raw Normal View History

# D3D12CommandList::DispatchIndirectInternal
间接分发计算任务内部实现。
```cpp
void DispatchIndirectInternal(ID3D12Resource* argBuffer, uint64_t alignedByteOffset);
```
## 参数
- `argBuffer` - 参数缓冲区
- `alignedByteOffset` - 字节偏移
## 返回值
**线程安全:** ❌
**复杂度:** O(1)
## 示例
```cpp
commandList.DispatchIndirectInternal(argBuffer.GetResource(), 0);
```
## 相关文档
- [D3D12CommandList 总览](command-list.md)
- [DispatchIndirect](dispatch-indirect.md) - 间接分发计算任务