Files
XCEngine/docs/api/rhi/swap-chain/should-close.md
2026-03-20 02:35:45 +08:00

346 B

RHISwapChain::ShouldClose

virtual bool ShouldClose() const = 0;

检查交换链是否应该关闭。

返回: 如果应该关闭返回 true

线程安全:

示例:

while (!swapChain->ShouldClose()) {
    // 渲染循环
}

相关文档