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/swap-chain/present.md
Normal file
24
docs/api/rhi/opengl/swap-chain/present.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# OpenGLSwapChain::Present
|
||||
|
||||
```cpp
|
||||
void Present(uint32_t syncInterval = 1, uint32_t flags = 0);
|
||||
```
|
||||
|
||||
呈现渲染结果到屏幕。
|
||||
|
||||
**参数:**
|
||||
- `syncInterval` - 垂直同步间隔(0=立即,1+=等待垂直同步)
|
||||
- `flags` - 呈现标志
|
||||
|
||||
**线程安全:** ❌
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
swapChain->Present(1, 0);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLSwapChain 总览](swap-chain.md) - 返回类总览
|
||||
- [SwapBuffers](swap-buffers.md) - 直接交换缓冲区
|
||||
Reference in New Issue
Block a user