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
This commit is contained in:
32
docs/api/rhi/d3d12/swap-chain/should-close.md
Normal file
32
docs/api/rhi/d3d12/swap-chain/should-close.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# D3D12SwapChain::ShouldClose
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
bool ShouldClose() const override
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
检查窗口是否应该关闭(如收到 WM_CLOSE 消息)。
|
||||
|
||||
## 返回值
|
||||
|
||||
`bool` - 如果应该关闭则返回 `true`
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(1)
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
if (swapChain->ShouldClose()) {
|
||||
// 处理关闭
|
||||
}
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12SwapChain](swap-chain.md) - 类总览
|
||||
- [D3D12SwapChain::SetShouldClose](set-should-close.md) - 设置关闭标志
|
||||
Reference in New Issue
Block a user