21 lines
491 B
Markdown
21 lines
491 B
Markdown
|
|
# D3D12CommandList::SetVertexBuffers
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void SetVertexBuffers(uint32_t startSlot, uint32_t count, const uint64_t* buffers, const uint64_t* offsets, const uint32_t* strides) override;
|
||
|
|
```
|
||
|
|
|
||
|
|
设置多个顶点缓冲区。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `startSlot` - 起始槽位
|
||
|
|
- `count` - 缓冲区数量
|
||
|
|
- `buffers` - 缓冲区指针数组
|
||
|
|
- `offsets` - 偏移数组
|
||
|
|
- `strides` - stride 数组
|
||
|
|
|
||
|
|
**复杂度:** O(n)
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|