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:
22
docs/api/rhi/opengl/texture/bind-image.md
Normal file
22
docs/api/rhi/opengl/texture/bind-image.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# OpenGLTexture::BindImage
|
||||
|
||||
```cpp
|
||||
void BindImage(int slot, bool read, bool write) const
|
||||
```
|
||||
|
||||
将纹理绑定到图像单元,用于着色器图像访问。
|
||||
|
||||
**参数:**
|
||||
- `slot` - 图像单元槽位
|
||||
- `read` - 是否可读
|
||||
- `write` - 是否可写
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
texture.BindImage(0, true, false); // 只读访问
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLTexture](texture.md) - 返回类总览
|
||||
Reference in New Issue
Block a user