21 lines
313 B
Markdown
21 lines
313 B
Markdown
|
|
# RHISwapChain::SetShouldClose
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
virtual void SetShouldClose(bool shouldClose) = 0;
|
||
|
|
```
|
||
|
|
|
||
|
|
设置交换链关闭标志。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `shouldClose` - 是否应该关闭
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
swapChain->SetShouldClose(true);
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [RHISwapChain 总览](swap-chain.md) - 返回类总览
|