openharmony 鸿蒙 capi-nativedisplaysoloist-displaysoloist-expectedraterange

2026-08-25 浏览 (1)

DisplaySoloist_ExpectedRateRange

typedef struct {...} DisplaySoloist_ExpectedRateRange

Overview

This struct describes the expected frame rate range.

Since: 12

Related module: NativeDisplaySoloist

Header file: native_display_soloist.h

Summary

Member Variables

NameDescription
int32_t minMinimum value of the expected frame rate range. The value range is [0,120].
int32_t maxMaximum value of the expected frame rate range. The value range is [0,120].
int32_t expectedExpected frame rate. The value range is [0,120].

Member Functions

Nametypedef KeywordDescription
typedef void (*OH_DisplaySoloist_FrameCallback)(long long timestamp, long long targetTimestamp, void* data)OH_DisplaySoloist_FrameCallback()Defines the pointer to an OH_DisplaySoloist callback function.
Since: 12

Member Function Description

OH_DisplaySoloist_FrameCallback()

typedef void (*OH_DisplaySoloist_FrameCallback)(long long timestamp, long long targetTimestamp, void* data)

Description

Defines the pointer to an OH_DisplaySoloist callback function.

Since: 12

Parameters

NameDescription
long long timestampCurrent frame VSync timestamp.
long long targetTimestampExpected VSync timestamp of the next frame.
void* dataPointer to user-defined data.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-drawing-gpu-context-h

openharmony 鸿蒙 capi-drawing-nativepixelmap-

openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange

openharmony 鸿蒙 capi-drawing-oh-drawing-brush

openharmony 鸿蒙 capi-drawing-oh-drawing-image-info

openharmony 鸿蒙 capi-drawing-text-linetypography-h

openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage

openharmony 鸿蒙 capi-drawing-typeface-h

openharmony 鸿蒙 capi-drawing-brush-h

openharmony 鸿蒙 capi-nativewindow

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/fvZ3uD4n