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:
21
docs/api/rhi/opengl/buffer/bind-base.md
Normal file
21
docs/api/rhi/opengl/buffer/bind-base.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# OpenGLBuffer::BindBase
|
||||
|
||||
```cpp
|
||||
void BindBase(unsigned int target, unsigned int index) const
|
||||
```
|
||||
|
||||
将缓冲区绑定到固定的 binding point。
|
||||
|
||||
**参数:**
|
||||
- `target` - OpenGL target (如 GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER)
|
||||
- `index` - binding point 索引
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
buffer.BindBase(GL_UNIFORM_BUFFER, 0);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLBuffer](buffer.md) - 返回类总览
|
||||
Reference in New Issue
Block a user