31 lines
573 B
Markdown
31 lines
573 B
Markdown
|
|
# D3D12CommandList::DrawInstancedIndirectInternal
|
||
|
|
|
||
|
|
实例化间接绘制内部实现。
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void DrawInstancedIndirectInternal(ID3D12Resource* argBuffer, uint64_t alignedByteOffset);
|
||
|
|
```
|
||
|
|
|
||
|
|
## 参数
|
||
|
|
|
||
|
|
- `argBuffer` - 参数缓冲区
|
||
|
|
- `alignedByteOffset` - 字节偏移
|
||
|
|
|
||
|
|
## 返回值
|
||
|
|
|
||
|
|
无
|
||
|
|
|
||
|
|
**线程安全:** ❌
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
## 示例
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
commandList.DrawInstancedIndirectInternal(argBuffer.GetResource(), 0);
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12CommandList 总览](command-list.md)
|
||
|
|
- [DrawInstancedIndirect](draw-instanced-indirect.md) - 实例化间接绘制
|