Files
XCSDD/docs/api/rhi/d3d12/fence/get-event-handle.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

32 lines
533 B
Markdown

# 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) - 等待栅栏