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:
31
docs/api/rhi/d3d12/fence/get-event-handle.md
Normal file
31
docs/api/rhi/d3d12/fence/get-event-handle.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# D3D12Fence::GetEventHandle
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
void* GetEventHandle()
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
获取用于 CPU 等待的 event 句柄。用于 `WaitForSingleObject` 等 API 进行阻塞等待。
|
||||
|
||||
## 返回值
|
||||
|
||||
`void*` - Win32 event 句柄
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(1)
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
HANDLE eventHandle = static_cast<HANDLE>(d3d12Fence->GetEventHandle());
|
||||
WaitForSingleObject(eventHandle, INFINITE);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Fence](fence.md) - 类总览
|
||||
- [D3D12Fence::Wait](../../../threading/task-group/wait.md) - 等待栅栏
|
||||
Reference in New Issue
Block a user