- 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
25 lines
461 B
Markdown
25 lines
461 B
Markdown
# 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) - 直接交换缓冲区
|