20 lines
282 B
Markdown
20 lines
282 B
Markdown
|
|
# OpenGLFence::GetCurrentValue
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
uint64_t GetCurrentValue() const
|
||
|
|
```
|
||
|
|
|
||
|
|
获取栅栏的当前值。
|
||
|
|
|
||
|
|
**返回:** `uint64_t` - 当前栅栏值
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
uint64_t current = fence.GetCurrentValue();
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [OpenGLFence](fence.md) - 返回类总览
|