UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IOSPlatformFramePacer.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4/*=============================================================================================
5 IOSPlatformFramePacer.h: Apple iOS platform frame pacer classes.
6==============================================================================================*/
7
8
9#pragma once
11
12// Forward declare the ios frame pacer class we will be using.
13@class FIOSFramePacer;
14
16
21{
22 // FGenericPlatformRHIFramePacer interface
23 static bool IsEnabled();
24 static void Destroy();
25 static int32 SetFramePace(int32 FramePace);
26 static int32 GetFramePace();
28
29 // FIOSPlatformRHIFramePacer interface
30 static void InitWithEvent(class FEvent* TriggeredEvent);
31 static void AddHandler(FIOSFramePacerHandler Handler);
32 static void RemoveHandler(FIOSFramePacerHandler Handler);
34
37
40
43
45 static uint32 Pace;
46
48 static void Suspend();
49
51 static void Resume();
52};
53
54
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void(^ FIOSFramePacerHandler)(uint32 IgnoredId, double OutputSeconds, double OutputDuration)
Definition IOSPlatformFramePacer.h:15
FIOSFramePacerHandler FPlatformRHIFramePacerHandler
Definition IOSPlatformFramePacer.h:56
FIOSPlatformRHIFramePacer FPlatformRHIFramePacer
Definition IOSPlatformFramePacer.h:55
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Event.h:21
Definition IOSPlatformFramePacer.cpp:26
Definition GenericPlatformFramePacer.h:18
Definition IOSPlatformFramePacer.h:21
static void Suspend()
Definition IOSPlatformFramePacer.cpp:270
static void InitWithEvent(class FEvent *TriggeredEvent)
Definition IOSPlatformFramePacer.cpp:244
static uint32 GetMaxRefreshRate()
Definition IOSPlatformFramePacer.cpp:186
static void Resume()
Definition IOSPlatformFramePacer.cpp:279
static void RemoveHandler(FIOSFramePacerHandler Handler)
Definition IOSPlatformFramePacer.cpp:263
static FIOSFramePacer * FramePacer
Definition IOSPlatformFramePacer.h:36
static void Destroy()
Definition IOSPlatformFramePacer.cpp:284
static uint32 MinFrameInterval
Definition IOSPlatformFramePacer.h:42
static uint32 FrameInterval
Definition IOSPlatformFramePacer.h:39
static bool SupportsFramePace(int32 QueryFramePace)
Definition IOSPlatformFramePacer.cpp:204
static int32 GetFramePace()
Definition IOSPlatformFramePacer.cpp:229
static void AddHandler(FIOSFramePacerHandler Handler)
Definition IOSPlatformFramePacer.cpp:254
static int32 SetFramePace(int32 FramePace)
Definition IOSPlatformFramePacer.cpp:210
static bool IsEnabled()
Definition IOSPlatformFramePacer.cpp:140
static uint32 Pace
Definition IOSPlatformFramePacer.h:45