UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GenericPlatformFramePacer.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4/*=============================================================================================
5 GenericPlatformFramePacer.h: Generic platform frame pacer classes
6==============================================================================================*/
7
8
9#pragma once
10
11#include "CoreFwd.h"
12#include "CoreTypes.h"
13
18{
23 static inline int32 GetFramePace()
24 {
26 }
27
34 static inline int32 SetFramePace(int32 FramePace)
35 {
36 return SetFramePaceToSyncInterval(FramePace);
37 }
38
43
44protected:
49
56};
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
Definition GenericPlatformFramePacer.h:18
static APPLICATIONCORE_API bool SupportsFramePace(int32 QueryFramePace)
Definition GenericPlatformFramePacer.cpp:22
static APPLICATIONCORE_API int32 GetFramePaceFromSyncInterval()
Definition GenericPlatformFramePacer.cpp:7
static int32 GetFramePace()
Definition GenericPlatformFramePacer.h:23
static int32 SetFramePace(int32 FramePace)
Definition GenericPlatformFramePacer.h:34
static APPLICATIONCORE_API int32 SetFramePaceToSyncInterval(int32 FramePace)
Definition GenericPlatformFramePacer.cpp:37