UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacPlatformFramePacer.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4/*=============================================================================================
5 MacPlatformFramePacer.h: Apple Mac platform frame pacer classes.
6==============================================================================================*/
7
8
9#pragma once
11
12struct FMacFramePacer;
13
15
20{
21 // FGenericPlatformRHIFramePacer interface
22 static bool IsEnabled();
23 static void InitWithEvent(class FEvent* TriggeredEvent);
24 static void AddHandler(FMacFramePacerHandler Handler);
25 static void AddEvent(uint32 CGDirectDisplayID, class FEvent* TriggeredEvent);
26 static void RemoveHandler(FMacFramePacerHandler Handler);
27 static void Destroy();
28
31};
32
33
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FMacPlatformRHIFramePacer FPlatformRHIFramePacer
Definition MacPlatformFramePacer.h:34
void(^ FMacFramePacerHandler)(uint32 CGDirectDisplayID, double OutputSeconds, double OutputDuration)
Definition MacPlatformFramePacer.h:14
FMacFramePacerHandler FPlatformRHIFramePacerHandler
Definition MacPlatformFramePacer.h:35
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Event.h:21
Definition GenericPlatformFramePacer.h:18
Definition MacPlatformFramePacer.cpp:18
Definition MacPlatformFramePacer.h:20
static FMacFramePacer * FramePacer
Definition MacPlatformFramePacer.h:30