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/buffer/is-dynamic.md
Normal file
24
docs/api/rhi/opengl/buffer/is-dynamic.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# OpenGLBuffer::IsDynamic
|
||||
|
||||
```cpp
|
||||
bool IsDynamic() const
|
||||
```
|
||||
|
||||
判断缓冲区是否为动态缓冲区。
|
||||
|
||||
**返回:** 如果是动态缓冲区返回 true
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
if (buffer.IsDynamic()) {
|
||||
// 动态缓冲区可以直接 Map/Unmap
|
||||
void* data = buffer.Map();
|
||||
// ...
|
||||
buffer.Unmap();
|
||||
}
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLBuffer](buffer.md) - 返回类总览
|
||||
Reference in New Issue
Block a user