native__vsync_8h.md 805 字节
Newer Older
Z
zengyawen 已提交
1 2 3 4 5 6 7
# native_vsync.h


## 概述

定义获取和使用NativeVsync的相关函数。

Z
zengyawen 已提交
8
**起始版本:**
Z
zengyawen 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

8

**相关模块:**

[NativeVsync](_native_vsync.md)


## 汇总


### 函数

| 函数名称 | 描述 |
| -------- | -------- |
Z
zengyawen 已提交
24 25 26
| [OH_NativeVSync_Create](_native_vsync.md#oh_nativevsync_create) (const char \*name, unsigned int length) | 创建一个OH_NativeVSync实例,每次调用都会产生一个新的实例。 |
| [OH_NativeVSync_Destroy](_native_vsync.md#oh_nativevsync_destroy) (OH_NativeVSync \*nativeVsync) | 销毁OH_NativeVSync实例。 |
| [OH_NativeVSync_RequestFrame](_native_vsync.md#oh_nativevsync_requestframe) (OH_NativeVSync \*nativeVsync, OH_NativeVSync_FrameCallback callback, void \*data) | 请求下一次vsync信号,当信号到来时,调用回调函数callback。 |