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:
23
docs/api/rhi/opengl/command-list/set-scissor-rect.md
Normal file
23
docs/api/rhi/opengl/command-list/set-scissor-rect.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenGLCommandList::SetScissorRect
|
||||
|
||||
```cpp
|
||||
void SetScissorRect(const Rect& rect)
|
||||
```
|
||||
|
||||
设置裁剪矩形。
|
||||
|
||||
**参数:**
|
||||
- `rect` - 裁剪矩形结构
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Rect rect;
|
||||
rect.x = 0; rect.y = 0;
|
||||
rect.width = 800; rect.height = 600;
|
||||
commandList->SetScissorRect(rect);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLCommandList](command-list.md) - 返回类总览
|
||||
Reference in New Issue
Block a user