19 lines
492 B
Markdown
19 lines
492 B
Markdown
# D3D12CommandList::DrawIndexed
|
|
|
|
绘制索引图元。
|
|
|
|
```cpp
|
|
void DrawIndexed(uint32_t indexCount, uint32_t instanceCount = 1, uint32_t startIndex = 0, int32_t baseVertex = 0, uint32_t startInstance = 0) override;
|
|
```
|
|
|
|
**参数:**
|
|
- `indexCount` - 索引数量
|
|
- `instanceCount` - 实例数量,默认为 1
|
|
- `startIndex` - 起始索引位置
|
|
- `baseVertex` - 基础顶点位置
|
|
- `startInstance` - 起始实例位置
|
|
|
|
## 相关文档
|
|
|
|
- [D3D12CommandList 总览](d3d12-command-list.md)
|