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:
27
docs/api/rhi/swap-chain/resize.md
Normal file
27
docs/api/rhi/swap-chain/resize.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# RHISwapChain::Resize
|
||||
|
||||
```cpp
|
||||
virtual void Resize(uint32_t width, uint32_t height) = 0;
|
||||
```
|
||||
|
||||
调整交换链大小。
|
||||
|
||||
**参数:**
|
||||
- `width` - 新的宽度
|
||||
- `height` - 新的高度
|
||||
|
||||
**复杂度:** O(n) - 取决于缓冲区数量
|
||||
|
||||
**注意:**
|
||||
- 调整大小会导致所有后台缓冲区重建
|
||||
- 应在渲染循环外调用
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
swapChain->Resize(1920, 1080);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [RHISwapChain 总览](swap-chain.md) - 返回类总览
|
||||
Reference in New Issue
Block a user