Files
XCEngine/docs/api/rhi/fence/is-signaled.md
2026-03-20 02:35:45 +08:00

24 lines
362 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# RHIFence::IsSignaled
```cpp
virtual bool IsSignaled() const = 0;
```
检查栅栏是否被信号触发。
**参数:**
**返回值:** (bool) 如果栅栏已被信号触发返回 true否则返回 false
**示例:**
```cpp
if (fence->IsSignaled()) {
// 栅栏已完成
}
```
## 相关文档
- [RHIFence 总览](fence.md) - 返回类总览