Files
XCSDD/docs/api/rhi/swap-chain/should-close.md
ssdfasd 58a83f445a 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
2026-03-19 12:44:08 +08:00

22 lines
321 B
Markdown

# RHISwapChain::ShouldClose
```cpp
virtual bool ShouldClose() const = 0;
```
检查交换链是否应该关闭。
**返回:** 如果应该关闭返回 true
**示例:**
```cpp
while (!swapChain->ShouldClose()) {
// 渲染循环
}
```
## 相关文档
- [RHISwapChain 总览](swap-chain.md) - 返回类总览