UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FrameProProfiler.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
FramePro/FramePro.h
"
6
7
#if FRAMEPRO_ENABLED
8
10
class
FFrameProProfiler
11
{
12
public
:
13
static
CORE_API
void
Initialize
();
14
static
CORE_API
void
TearDown();
15
17
static
CORE_API
void
FrameStart();
18
20
static
CORE_API
void
PushEvent();
// Event with no name, expected to be named at the end
21
static
CORE_API
void
PushEvent(
const
TCHAR
*
Text
);
22
static
CORE_API
void
PushEvent(
const
ANSICHAR
*
Text
);
23
25
static
CORE_API
void
PopEvent();
26
static
CORE_API
void
PopEvent(
const
TCHAR
*
Override
);
27
static
CORE_API
void
PopEvent(
const
ANSICHAR
*
Override
);
28
29
static
CORE_API
void
StartFrameProRecordingFromCommand
(
const
TArray< FString >
& Args);
30
static
CORE_API
FString
StartFrameProRecording
(
const
FString&
FilenameRoot
,
int32
MinScopeTime
,
bool
bAppendDateTime
=
true
);
31
static
CORE_API
void
StopFrameProRecording
();
32
33
static
CORE_API
bool
IsFrameProRecording
();
34
static
CORE_API
bool
IsThreadContextReady
();
35
};
36
37
#endif
// FRAMEPRO_ENABLED
TCHAR
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition
Platform.h:1135
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
ANSICHAR
FPlatformTypes::ANSICHAR ANSICHAR
An ANSI character. Normally a signed type.
Definition
Platform.h:1131
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ECustomAttributeBlendType::Override
@ Override
FramePro.h
ESlateAttributeBindAction::Initialize
@ Initialize
EArchiveValueType::Text
@ Text
TArray< FString >
Engine
Source
Runtime
Core
Public
FramePro
FrameProProfiler.h
Generated by
1.9.8