- 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
37 lines
519 B
Markdown
37 lines
519 B
Markdown
# D3D12SwapChain::Present
|
||
|
||
## 函数签名
|
||
|
||
```cpp
|
||
void Present(uint32_t syncInterval = 1, uint32_t flags = 0) override
|
||
```
|
||
|
||
## 中文描述
|
||
|
||
呈现后台缓冲区内容到屏幕。
|
||
|
||
## 参数
|
||
|
||
| 参数 | 类型 | 描述 |
|
||
|------|------|------|
|
||
| `syncInterval` | `uint32_t` | 垂直同步间隔(默认 1) |
|
||
| `flags` | `uint32_t` | 呈现标志(默认 0) |
|
||
|
||
## 返回值
|
||
|
||
无
|
||
|
||
## 复杂度
|
||
|
||
O(1)
|
||
|
||
## 示例
|
||
|
||
```cpp
|
||
swapChain->Present(1, 0);
|
||
```
|
||
|
||
## 相关文档
|
||
|
||
- [D3D12SwapChain](swap-chain.md) - 类总览
|