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
This commit is contained in:
24
docs/api/rhi/opengl/command-list/set-vertex-buffers.md
Normal file
24
docs/api/rhi/opengl/command-list/set-vertex-buffers.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# OpenGLCommandList::SetVertexBuffers
|
||||
|
||||
```cpp
|
||||
void SetVertexBuffers(uint32_t startSlot, uint32_t count, const uint64_t* buffers, const uint64_t* offsets, const uint32_t* strides)
|
||||
```
|
||||
|
||||
批量设置顶点缓冲区。
|
||||
|
||||
**参数:**
|
||||
- `startSlot` - 起始槽位
|
||||
- `count` - 缓冲区数量
|
||||
- `buffers` - 缓冲区指针数组
|
||||
- `offsets` - 偏移数组
|
||||
- `strides` - 跨度数组
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
commandList->SetVertexBuffers(0, 2, buffers, offsets, strides);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLCommandList](command-list.md) - 返回类总览
|
||||
Reference in New Issue
Block a user