UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CoreGlobals.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
5#include "CoreTypes.h"
6#include "HAL/PlatformTLS.h"
7#include "Logging/LogMacros.h"
8#include "Misc/Build.h"
10#include "Misc/OutputDevice.h"
12#include "Templates/Atomic.h"
13#include "UObject/NameTypes.h"
14
15#include <atomic>
16
17class Error;
19class FConfigCacheIni;
20class FExec;
24class FRunnableThread;
25class FText;
26class ITransaction;
27class UClass;
28
40
53
54// Temporary log category, generally you should not check things in that use this
56
57// Platform specific logs, set here to make it easier to use them from anywhere
58// need another layer of macro to help using a define in a define
59#define DECLARE_LOG_CATEGORY_EXTERN_HELPER(A,B,C) DECLARE_LOG_CATEGORY_EXTERN(A,B,C)
60#ifdef PLATFORM_GLOBAL_LOG_CATEGORY
62#endif
63#ifdef PLATFORM_GLOBAL_LOG_CATEGORY_ALT
65#endif
66
67
69
70CORE_API void BootTimingPoint(const ANSICHAR *Message);
71
73
82
89
90
91#define SCOPED_BOOT_TIMING(x) TRACE_CPUPROFILER_EVENT_SCOPE_STR(x); FScopedBootTiming ANONYMOUS_VARIABLE(BootTiming_)(x);
92#define UE_SCOPED_ENGINE_ACTIVITY(Fmt, ...) FEngineTrackedActivityScope ANONYMOUS_VARIABLE(EngineActivity_)(Fmt, ## __VA_ARGS__);
93
94
95#define GLog GetGlobalLogSingleton()
100CORE_API extern class FFeedbackContext* GWarn;
101
102
103extern CORE_API TCHAR GErrorHist[16384];
104
105// #crashReport: 2014-08-19 Combine into one, refactor.
107
109{
110 const FText& True;
111 const FText& False;
112 const FText& Yes;
113 const FText& No;
114 const FText& None;
115
116 static CORE_API const FCoreTexts& Get();
117
119 static CORE_API void TearDown();
120
121 // Non-copyable
122 FCoreTexts(const FCoreTexts&) = delete;
123 FCoreTexts& operator=(const FCoreTexts&) = delete;
124
125 FCoreTexts(const FText& InTrue, const FText& InFalse, const FText& InYes, const FText& InNo, const FText& InNone)
127 {
128 }
129};
130
131#if !defined(DISABLE_LEGACY_CORE_TEXTS) || DISABLE_LEGACY_CORE_TEXTS == 0
132UE_DEPRECATED(4.23, "GTrue has been deprecated in favor of FCoreTexts::Get().True.")
134UE_DEPRECATED(4.23, "GFalse has been deprecated in favor of FCoreTexts::Get().False.")
136UE_DEPRECATED(4.23, "GYes has been deprecated in favor of FCoreTexts::Get().Yes.")
138UE_DEPRECATED(4.23, "GNo has been deprecated in favor of FCoreTexts::Get().No.")
140UE_DEPRECATED(4.23, "GNone has been deprecated in favor of FCoreTexts::Get().None.")
142#endif
143
145extern CORE_API bool GIsGameAgnosticExe;
146
149
152
155
158
160extern CORE_API bool GCompilingBlueprint;
161
164
167
169extern CORE_API std::atomic<bool> GIsReinstancing;
170
173
176{
179 bool bIsEmbedded = false;
180
182 void* WindowHandle = nullptr;
183
186
189};
190
193
195
196#if WITH_ENGINE
199
202
205#endif
206
207#if WITH_EDITORONLY_DATA
208
213extern CORE_API bool GIsEditor;
214extern CORE_API bool GIsImportingT3D;
215extern CORE_API bool GIsTransacting;
216
223
224#elif USING_CODE_ANALYSIS
225
226// Defined as variables during code analysis to prevent lots of '<constant> && <expr>' warnings
227extern CORE_API bool GIsEditor;
230
231#else
232
233#define GIsEditor false
234#define GIntraFrameDebuggingGameThread false
235#define GFirstFrameIntraFrameDebugging false
236
237#endif // WITH_EDITORONLY_DATA
238
239#if WITH_EDITOR
242#endif
243
248{
249#if WITH_ENGINE
251#else
252 return false;
253#endif
254}
255
260{
261#if WITH_EDITOR
263#else
264 return false;
265#endif
266}
267
272{
273#if WITH_EDITOR
275#else
276 return false;
277#endif
278}
279
284{
285#if WITH_ENGINE
287#else
288 return nullptr;
289#endif
290}
291
305
310{
311#if WITH_ENGINE
313#else
314 return false;
315#endif
316}
317
319{
320#if WITH_ENGINE
322#else
323 return false;
324#endif
325}
326
327namespace UE
328{
337}
338
339namespace UE::Private
340{
349}
350
357
358extern CORE_API bool GEdSelectionLock;
359extern CORE_API bool GIsClient;
360extern CORE_API bool GIsServer;
362extern CORE_API TSAN_ATOMIC(bool) GIsRunning;
364
372extern CORE_API bool GIsBuildMachine;
373
377extern CORE_API bool GIsSilent;
378
379extern CORE_API bool GIsSlowTask;
380extern CORE_API bool GSlowTaskOccurred;
381extern CORE_API bool GIsGuarded;
382
389#ifndef UE_SET_REQUEST_EXIT_ON_TICK_ONLY
390 #define UE_SET_REQUEST_EXIT_ON_TICK_ONLY 0
391#endif
392
399
400UE_DEPRECATED(4.24, "Please use IsEngineExitRequested()/RequestEngineExit(const FString&)")
402
407
414
415// Request that the engine exit as soon as it can safely do so
416// The ReasonString is not optional and should be a useful description of why the engine exit is requested
418CORE_API void RequestEngineExit(const FString& ReasonString);
419
428
429/* Whether we are dumping screen shots */
435
436extern CORE_API FString GEngineIni;
437
439extern CORE_API FString GEditorLayoutIni;
440extern CORE_API FString GEditorKeyBindingsIni;
441extern CORE_API FString GEditorSettingsIni;
442
444extern CORE_API FString GEditorIni;
445extern CORE_API FString GEditorPerProjectIni;
446
447extern CORE_API FString GCompatIni;
448extern CORE_API FString GLightmassIni;
449extern CORE_API FString GScalabilityIni;
450extern CORE_API FString GHardwareIni;
451extern CORE_API FString GInputIni;
452extern CORE_API FString GGameIni;
453extern CORE_API FString GGameUserSettingsIni;
454extern CORE_API FString GRuntimeOptionsIni;
455extern CORE_API FString GInstallBundleIni;
456extern CORE_API FString GDeviceProfilesIni;
457extern CORE_API FString GGameplayTagsIni;
458
459extern CORE_API float GNearClippingPlane;
461
462extern CORE_API bool GExitPurge;
464extern CORE_API const TCHAR* GForeignEngineDir;
465
468
470extern CORE_API bool(*IsAsyncLoading)();
471
474
477
480
483
491
493
496
499
502
503namespace UE
504{
507}
508
511
518
519namespace UE
520{
523}
524
526UE_DEPRECATED(4.25, "This variable is no longer set. Use !GEditor->GetPlayInEditorSessionInfo()->OriginalRequestParams.HasPlayWorldPlacement() instead.")
528
531
534
537
540
541/* Whether we are using the event driven loader */
543
546
549
551
554
557
560
563
565UE_DEPRECATED(5.1, "Please use `FPlatformProcess::IsFirstInstance()`")
567
570
573
576
578UE_DEPRECATED(4.26, "Please use `IsInActualRenderingThread()`")
580
583
586
589
592
595
598
599#if USE_HITCH_DETECTION
602#endif
603
606
612
614extern CORE_API bool GIsDemoMode;
615
617//@Package name transition, remove the double checks
619//@Package name transition, remove the double checks
621
624
627
629extern CORE_API bool GPumpingMessages;
630
633
634#if !UE_BUILD_SHIPPING
635
637extern CORE_API bool GIgnoreDebugger;
638
639#endif // #if !UE_BUILD_SHIPPING
640
641enum class ETaskTag : int32
642{
643 ENone = 0 << 0,
644 EStaticInit = 1 << 0,
645 EGameThread = 1 << 1,
646 ESlateThread = 1 << 2,
647 EAudioThread UE_DEPRECATED(5.0, "AudioThread was removed and ETaskTag::EAudioThread is not used anymore. Please remove it.") = 1 << 3,
648 ERenderingThread = 1 << 4,
649 ERhiThread = 1 << 5,
650 EAsyncLoadingThread = 1 << 6,
651 EEventThread = 1 << 7,
652
653 ENamedThreadBits = (EEventThread << 1) - 1,
654 EParallelThread = 1 << 30, //This can be used when multiple threads or jobs are involved (usually a parallel for) It will avoid the check for uniqueness of the named thread tag.
655 EWorkerThread = 1 << 29 | EParallelThread,
660};
661
663
664
672{
673 friend class FRunnableThread;
674 friend class FRenderingThread;
675 static thread_local ETaskTag ActiveTaskTag;
676 static int32 GetStaticThreadId();
677 ETaskTag ParentTag;
679 bool TagOnlyIfNone;
680
681public:
686 static void CORE_API SetTagNone();
687
693 static void CORE_API SetTagStaticInit();
694
699
700public:
703
705 static CORE_API bool IsCurrentTag(ETaskTag InTag);
707};
708
715class UE_DEPRECATED(5.6, "Use FTaskTagScope instead which is now always optional by default.") FOptionalTaskTagScope : public FTaskTagScope
716{
717public:
719 {
720 }
721};
722
731
733extern CORE_API bool IsInGameThread();
734
736extern CORE_API bool IsInParallelGameThread();
737
740
742extern CORE_API bool IsInWorkerThread();
743
744extern CORE_API bool IsAudioThreadRunning();
745
747extern CORE_API bool IsInAudioThread();
748
750extern CORE_API bool IsInSlateThread();
751
753extern CORE_API bool IsInRenderingThread();
754
757
759extern CORE_API bool IsInAnyRenderingThread();
760
762// Unlike IsInRenderingThread, this will always return false if we are running single threaded. It only returns true if this is actually a separate rendering thread. Mostly useful for checks
764
767
770
772UE_DEPRECATED(4.26, "Please use `GIsThreadedRendering` or `IsInActualRenderingThread()`")
774
777
780
783
787
789#if !UE_BUILD_SHIPPING
790CORE_API void NotifyLoadingStateChanged(bool bState, const TCHAR *Message);
809#else
810FORCEINLINE void NotifyLoadingStateChanged(bool bState, const TCHAR *Message)
811{
812}
814{
815 template <typename T>
817 {
818 }
819};
820#endif
821
824
827
829
831{
833 struct FStoredObjectPathDebug;
834
836 struct FObjectHandlePackageDebugData;
837}
838namespace UE::Core { struct FVisualizerDebuggingState; }
842
845
846namespace UE {
848}
849
850/* Used to wrap around null checks with `this` which should be optimized out when not using -fno-delete-null-pointer-checks.
851 * The aim is to give the opportunity to the client code to fix any potential causes of `this` being null and stop relying
852 * on undefined behavior.
853 */
854UE_DEPRECATED(5.6, "IsThisNotNull has been deprecated.")
855CORE_API FORCENOINLINE bool IsThisNotNull(const void* This, const ANSICHAR* Function);
856
857namespace UE
858{
859 CORE_API bool IsGCLocked();
860}
861namespace UE::Private
862{
864}
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define PLATFORM_GLOBAL_LOG_CATEGORY
Definition AndroidPlatform.h:70
#define FORCENOINLINE
Definition AndroidPlatform.h:142
#define FORCEINLINE
Definition AndroidPlatform.h:140
bool GIsPIEUsingPlayerStart
Definition CoreGlobals.cpp:405
bool GIsRequestingExit
Definition CoreGlobals.cpp:227
CORE_API uint64 GLastGCFrame
Definition CoreGlobals.cpp:421
CORE_API bool IsInSlateThread()
Definition ThreadingBase.cpp:222
CORE_API bool GCompilingBlueprint
Definition CoreGlobals.cpp:162
CORE_API bool IsInAudioThread()
Definition ThreadingBase.cpp:251
CORE_API bool GScreenMessagesRestoreState
Definition CoreGlobals.cpp:230
CORE_API void(* SuspendTextureStreamingRenderTasks)()
Definition CoreGlobals.cpp:369
CORE_API void(* ResumeTextureStreamingRenderTasks)()
Definition CoreGlobals.cpp:370
CORE_API bool GIgnoreDebugger
Definition CoreGlobals.cpp:487
FORCEINLINE bool IsRunningDLCCookCommandlet()
Definition CoreGlobals.h:271
CORE_API FOutputDeviceRedirector * GetGlobalLogSingleton()
Definition OutputDeviceRedirector.cpp:1063
FORCEINLINE bool IsRunningCommandlet()
Definition CoreGlobals.h:247
CORE_API bool(* IsAsyncLoading)()
Definition CoreGlobals.cpp:364
CORE_API bool GIsRunningRHIInTaskThread_InternalUseOnly
Definition ThreadingBase.cpp:332
CORE_API bool GEventDrivenLoaderEnabled
Definition CoreGlobals.cpp:415
class UE_DEPRECATED(5.6, "Use FTaskTagScope instead which is now always optional by default.") FOptionalTaskTagScope CORE_API void EnsureRetrievingVTablePtrDuringCtor(const TCHAR *CtorSignature)
Definition CoreMisc.cpp:436
CORE_API bool IsInActualLoadingThread()
Definition ThreadingBase.cpp:359
CORE_API uint32 GScreenshotResolutionX
Definition CoreGlobals.cpp:233
CORE_API const FText GNo
Definition CoreGlobals.cpp:115
CORE_API void SetEngineStartupModuleLoadingComplete()
Definition CoreGlobals.cpp:309
CORE_API FString GInputIni
Definition CoreGlobals.cpp:252
CORE_API bool GSlowTaskOccurred
Definition CoreGlobals.cpp:226
CORE_API FString GEngineIni
Definition CoreGlobals.cpp:237
CORE_API bool GExitPurge
Definition CoreGlobals.cpp:263
CORE_API bool GEdSelectionLock
Definition CoreGlobals.cpp:214
CORE_API TCHAR GErrorHist[16384]
Definition CoreGlobals.cpp:68
CORE_API const FText GTrue
Definition CoreGlobals.cpp:116
CORE_API UE::CoreUObject::Private::FStoredObjectPathDebug * GCoreComplexObjectPathDebug
Definition CoreGlobals.cpp:272
CORE_API FRunnableThread * GRenderingThread
Definition ThreadingBase.cpp:256
CORE_API bool GIsInitialLoad
Definition CoreGlobals.cpp:413
CORE_API FExec * GDebugToolExec
Definition CoreGlobals.cpp:357
CORE_API bool GIsServer
Definition CoreGlobals.cpp:216
CORE_API const TCHAR * LexToString(ELoaderType Type)
Definition CoreGlobals.cpp:378
CORE_API FOutputDeviceConsole * GLogConsole
Definition CoreGlobals.cpp:56
CORE_API bool GIsHighResScreenshot
Definition CoreGlobals.cpp:232
ELoaderType
Definition CoreGlobals.h:485
CORE_API uint32 GFrameNumberRenderThread
Definition CoreGlobals.cpp:427
CORE_API FString GGameplayTagsIni
Definition CoreGlobals.cpp:258
CORE_API std::atomic< bool > GIsReinstancing
Definition CoreGlobals.cpp:171
CORE_API bool IsInParallelRenderingThread()
Definition ThreadingBase.cpp:301
CORE_API bool GPumpingMessagesOutsideOfMainLoop
Definition CoreGlobals.cpp:475
CORE_API const TCHAR * GForeignEngineDir
FORCEINLINE bool IsRunningCookCommandlet()
Definition CoreGlobals.h:259
CORE_API double GStartTime
Definition CoreGlobals.cpp:409
CORE_API FString GSystemStartTime
Definition CoreGlobals.cpp:411
CORE_API bool IsRHIThreadRunning()
Definition ThreadingBase.cpp:334
CORE_API FString GHardwareIni
Definition CoreGlobals.cpp:251
CORE_API bool(* IsAsyncLoadingMultithreaded)()
Definition CoreGlobals.cpp:368
CORE_API TCHAR GErrorExceptionDescription[4096]
Definition CoreGlobals.cpp:71
CORE_API bool GIsReconstructingBlueprintInstances
Definition CoreGlobals.cpp:168
CORE_API FString GGameIni
Definition CoreGlobals.cpp:253
CORE_API const FText GNone
Definition CoreGlobals.cpp:118
CORE_API bool GFastPathUniqueNameGeneration
Definition CoreGlobals.cpp:153
CORE_API int32 GSavingCompressionChunkSize
Definition CoreGlobals.cpp:435
CORE_API FLazyName GLongCorePackageName
CORE_API UE::Core::FVisualizerDebuggingState * GCoreDebuggingState
Definition VisualizerDebuggingState.cpp:11
CORE_API class FFeedbackContext * GWarn
Definition CoreGlobals.cpp:53
CORE_API float GNearClippingPlane
Definition CoreGlobals.cpp:260
ETaskTag
Definition CoreGlobals.h:642
@ ERenderingThread
@ EParallelRenderingThread
@ ENamedThreadBits
@ EParallelLoadingThread
@ EParallelRhiThread
@ EParallelGameThread
@ EParallelThread
@ EAsyncLoadingThread
CORE_API bool IsInParallelRHIThread()
Definition ThreadingBase.cpp:344
CORE_API FString GEditorLayoutIni
Definition CoreGlobals.cpp:242
CORE_API bool IsInParallelLoadingThread()
Definition ThreadingBase.cpp:212
CORE_API FConfigCacheIni * GConfig
Definition CoreGlobals.cpp:54
CORE_API FString GRuntimeOptionsIni
Definition CoreGlobals.cpp:255
CORE_API class FOutputDeviceError * GError
Definition OutputDevice.cpp:92
CORE_API void(* GFlushStreamingFunc)(void)
Definition CoreGlobals.cpp:445
FORCEINLINE UClass * GetRunningCommandletClass()
Definition CoreGlobals.h:283
CORE_API bool GIsRunningRHIInDedicatedThread_InternalUseOnly
Definition ThreadingBase.cpp:331
CORE_API FUELibraryOverrideSettings GUELibraryOverrideSettings
Definition CoreGlobals.cpp:174
CORE_API bool GIsGCingAfterBlueprintCompile
Definition CoreGlobals.cpp:165
CORE_API bool GIsAutomationTesting
Definition CoreGlobals.cpp:473
FORCEINLINE bool IsEngineExitRequested()
Definition CoreGlobals.h:408
CORE_API bool GPumpingMessages
Definition CoreGlobals.cpp:477
CORE_API uint32 GScreenshotResolutionY
Definition CoreGlobals.cpp:234
CORE_API bool GForceLoadEditorOnly
IS_MONOLITHIC || !UE_EDITOR.
Definition CoreGlobals.cpp:141
CORE_API bool GIsRunningUnattendedScript
Definition CoreGlobals.cpp:181
CORE_API bool IsInParallelGameThread()
Definition ThreadingBase.cpp:207
#define GFirstFrameIntraFrameDebugging
Definition CoreGlobals.h:235
FORCEINLINE bool IsAllowCommandletRendering()
Definition CoreGlobals.h:309
CORE_API FChunkedFixedUObjectArray * GCoreObjectArrayForDebugVisualizers
Definition CoreGlobals.cpp:265
CORE_API FString GetCommandletNameFromCmdline()
Definition CoreGlobals.cpp:955
CORE_API uint32 GRenderThreadId
Definition CoreGlobals.cpp:438
CORE_API FString GEditorIni
Definition CoreGlobals.cpp:240
CORE_API bool GPlatformNeedsPowerOfTwoTextures
Definition CoreGlobals.cpp:407
CORE_API bool GIsRetrievingVTablePtr
Definition CoreMisc.cpp:434
FORCEINLINE bool IsAllowCommandletAudio()
Definition CoreGlobals.h:318
CORE_API int32 GIsDumpingMovie
Definition CoreGlobals.cpp:231
CORE_API bool GIsCookerLoadingPackage
Definition CoreGlobals.cpp:397
CORE_API bool GIsClient
Definition CoreGlobals.cpp:215
CORE_API int32 GCycleStatsShouldEmitNamedEvents
Definition CoreGlobals.cpp:462
CORE_API ITransaction * GUndo
Definition CoreGlobals.cpp:55
CORE_API float GNearClippingPlane_RenderThread
Definition CoreGlobals.cpp:261
CORE_API bool IsInRHIThread()
Definition ThreadingBase.cpp:339
CORE_API bool GIsFirstInstance
Definition CoreGlobals.cpp:430
CORE_API bool(* IsInAsyncLoadingThread)()
Definition ThreadingBase.cpp:357
CORE_API UE::CoreUObject::Private::FObjectHandlePackageDebugData * GCoreObjectHandlePackageDebug
Definition CoreGlobals.cpp:273
CORE_API FLazyName GLongCoreUObjectPackageName
bool CORE_API IsRunningCookOnTheFly()
Definition CoreGlobals.cpp:936
bool CORE_API GetEmitDrawEvents()
Definition CoreGlobals.cpp:491
CORE_API FString GEditorPerProjectIni
Definition CoreGlobals.cpp:246
CORE_API bool GAllowActorScriptExecutionInEditor
Definition CoreGlobals.cpp:159
CORE_API bool IsEngineStartupModuleLoadingComplete()
Definition CoreGlobals.cpp:304
CORE_API bool GEnableVREditorHacks
Definition CoreGlobals.cpp:480
CORE_API FORCENOINLINE bool IsThisNotNull(const void *This, const ANSICHAR *Function)
Definition CoreGlobals.cpp:999
CORE_API void BootTimingPoint(const ANSICHAR *Message)
Definition CoreGlobals.cpp:553
CORE_API bool GIsBuildMachine
Definition CoreGlobals.cpp:222
CORE_API uint64 GInputTime
Definition CoreGlobals.cpp:423
CORE_API void RequestEngineExit(const TCHAR *ReasonString)
Definition CoreGlobals.cpp:332
void CORE_API SetEmitDrawEvents(bool EmitDrawEvents)
Definition CoreGlobals.cpp:496
CORE_API void(* SuspendAsyncLoading)()
Definition CoreGlobals.cpp:365
CORE_API TCHAR GInternalProjectName[64]
Definition CoreGlobals.cpp:284
CORE_API const FText GFalse
Definition CoreGlobals.cpp:117
CORE_API void BeginExitIfRequested()
Definition CoreGlobals.cpp:322
CORE_API bool GShouldEmitVerboseNamedEvents
Definition CoreGlobals.cpp:468
CORE_API bool(* IsAsyncLoadingSuspended)()
Definition CoreGlobals.cpp:367
CORE_API FString GLightmassIni
Definition CoreGlobals.cpp:249
CORE_API FString GEditorKeyBindingsIni
Definition CoreGlobals.cpp:241
CORE_API bool GIsGameAgnosticExe
Definition CoreGlobals.cpp:135
CORE_API bool GVerifyObjectReferencesOnly
Definition CoreGlobals.cpp:149
CORE_API bool IsInGameThread()
Definition ThreadingBase.cpp:185
CORE_API FString GInstallBundleIni
Definition CoreGlobals.cpp:256
#define GIsEditor
Definition CoreGlobals.h:233
CORE_API FString GCompatIni
Definition CoreGlobals.cpp:248
CORE_API bool GIsSlowTask
Definition CoreGlobals.cpp:225
#define GIntraFrameDebuggingGameThread
Definition CoreGlobals.h:234
CORE_API const FText GYes
Definition CoreGlobals.cpp:114
CORE_API bool GIsRunningRHIInSeparateThread_InternalUseOnly
Definition ThreadingBase.cpp:330
CORE_API bool GIsGameThreadIdInitialized
Definition CoreGlobals.cpp:442
CORE_API uint32 GFrameNumber
Definition CoreGlobals.cpp:425
CORE_API uint32 GGameThreadId
Definition CoreGlobals.cpp:437
CORE_API uint32 GSlateLoadingThreadId
Definition CoreGlobals.cpp:439
CORE_API bool GIsPlayInEditorWorld
Definition CoreGlobals.cpp:403
CORE_API bool GAreScreenMessagesEnabled
Definition CoreGlobals.cpp:229
CORE_API void(* ResumeAsyncLoading)()
Definition CoreGlobals.cpp:366
CORE_API FString GEditorSettingsIni
Definition CoreGlobals.cpp:243
CORE_API uint64 GFrameCounter
Definition CoreGlobals.cpp:418
CORE_API bool GIsDemoMode
Definition CoreGlobals.cpp:471
CORE_API FIsDuplicatingClassForReinstancing GIsDuplicatingClassForReinstancing
Definition CoreGlobals.cpp:220
CORE_API FString GGameUserSettingsIni
Definition CoreGlobals.cpp:254
CORE_API float GHitchThresholdMS
Definition CoreGlobals.cpp:433
CORE_API bool IsInAnyRenderingThread()
Definition ThreadingBase.cpp:293
CORE_API void NotifyLoadingStateChanged(bool bState, const TCHAR *Message)
Definition CoreMisc.cpp:447
CORE_API bool IsInActualRenderingThread()
Definition ThreadingBase.cpp:258
CORE_API FLazyName GCurrentTraceName
Definition CoreGlobals.cpp:449
CORE_API bool GIsGuarded
Definition CoreGlobals.cpp:218
CORE_API bool IsInRenderingThread()
Definition ThreadingBase.cpp:273
#define DECLARE_LOG_CATEGORY_EXTERN_HELPER(A, B, C)
Definition CoreGlobals.h:59
CORE_API void DumpBootTiming()
Definition CoreGlobals.cpp:557
CORE_API bool IsInWorkerThread()
Definition ThreadingBase.cpp:217
CORE_API FString GScalabilityIni
Definition CoreGlobals.cpp:250
CORE_API bool GIsSilent
Definition CoreGlobals.cpp:224
CORE_API uint64 GFrameCounterRenderThread
Definition CoreGlobals.cpp:419
CORE_API uint64 GMakeCacheIDIndex
Definition CoreGlobals.cpp:235
CORE_API bool IsAudioThreadRunning()
Definition ThreadingBase.cpp:246
CORE_API FString GDeviceProfilesIni
Definition CoreGlobals.cpp:257
CORE_API ELoaderType(* GetLoaderType)()
Definition CoreGlobals.cpp:376
#define TSAN_ATOMIC(Type)
Definition CoreMiscDefines.h:147
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::ANSICHAR ANSICHAR
An ANSI character. Normally a signed type.
Definition Platform.h:1131
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
DIRECTLINK_API Display
Definition DirectLinkLog.h:8
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
#define PRAGMA_ENABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:12
#define PRAGMA_DISABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:8
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
const bool
Definition NetworkReplayStreaming.h:178
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition UObjectArray.h:716
Definition ConfigCacheIni.h:1240
Definition Exec.h:29
Definition FeedbackContext.h:30
Definition UObjectArray.h:582
Definition CoreGlobals.h:352
CORE_API FIsDuplicatingClassForReinstancing & operator=(bool bOther)
Definition CoreGlobals.cpp:795
Definition NameTypes.h:1680
Definition NameTypes.h:617
Definition OutputDeviceConsole.h:14
Definition OutputDeviceError.h:10
Definition OutputDeviceRedirector.h:54
Definition RenderingThread.cpp:325
Definition RunnableThread.h:20
Definition CoreGlobals.h:672
CORE_API ~FTaskTagScope()
Definition ThreadingBase.cpp:147
static void CORE_API SetTagNone()
Definition ThreadingBase.cpp:74
static CORE_API ETaskTag GetCurrentTag()
Definition ThreadingBase.cpp:175
static CORE_API bool IsCurrentTag(ETaskTag InTag)
Definition ThreadingBase.cpp:170
static ETaskTag CORE_API SwapTag(ETaskTag Tag)
Definition ThreadingBase.cpp:67
static void CORE_API SetTagStaticInit()
Definition ThreadingBase.cpp:79
static CORE_API bool IsRunningDuringStaticInit()
Definition ThreadingBase.cpp:180
Definition Text.h:385
Definition ITransaction.h:87
Definition Class.h:3793
Definition OutputDevice.h:109
Definition CoreGlobals.cpp:268
Definition PlayInEditorLoadingScope.h:8
Definition PackageReader.cpp:44
void SetMultiprocessId(int32 MultiprocessId)
Definition CoreGlobals.cpp:1013
void SetIsGCLockedFunction(bool(*InIsGCLockedFuncPtr)())
Definition CoreGlobals.cpp:1048
Definition AdvancedWidgetsModule.cpp:13
void SetPlayInEditorID(int32 InPlayInEditorID)
Definition CoreGlobals.cpp:883
bool IsGCLocked()
Definition CoreGlobals.cpp:1040
bool GetIsEditorLoadingPackage()
Definition CoreGlobals.cpp:893
bool IsUsingZenPakFileStreaming()
Definition CoreGlobals.cpp:980
int32 GetMultiprocessId()
Definition CoreGlobals.cpp:969
void SetIsEditorLoadingPackage(bool InValue)
Definition CoreGlobals.cpp:914
int32 GetPlayInEditorID()
Definition CoreGlobals.cpp:877
Definition AndroidPlatformProcess.h:30
Definition CoreGlobals.h:109
FCoreTexts & operator=(const FCoreTexts &)=delete
static CORE_API void TearDown()
Definition CoreGlobals.cpp:107
FCoreTexts(const FText &InTrue, const FText &InFalse, const FText &InYes, const FText &InNo, const FText &InNone)
Definition CoreGlobals.h:125
static CORE_API const FCoreTexts & Get()
Definition CoreGlobals.cpp:102
FCoreTexts(const FCoreTexts &)=delete
const FText & None
Definition CoreGlobals.h:114
const FText & Yes
Definition CoreGlobals.h:112
const FText & No
Definition CoreGlobals.h:113
const FText & False
Definition CoreGlobals.h:111
const FText & True
Definition CoreGlobals.h:110
Definition CoreGlobals.h:84
CORE_API ~FEngineTrackedActivityScope()
Definition CoreGlobals.cpp:532
Definition CoreGlobals.h:75
FString Message
Definition CoreGlobals.h:76
double StartTime
Definition CoreGlobals.h:77
CORE_API ~FScopedBootTiming()
Definition CoreGlobals.cpp:550
Definition CoreGlobals.h:792
~FScopedLoadingState()
Definition CoreGlobals.h:804
FScopedLoadingState(const FString &InMessage)
Definition CoreGlobals.h:799
FScopedLoadingState(FString &&InMessage)
Definition CoreGlobals.h:794
FString Message
Definition CoreGlobals.h:793
Definition CoreGlobals.h:176
int32 WindowHeight
Definition CoreGlobals.h:188
int32 WindowWidth
Definition CoreGlobals.h:185
void * WindowHandle
Definition CoreGlobals.h:182
bool bIsEmbedded
Definition CoreGlobals.h:179
Definition VisualizerDebuggingState.h:75
CORE_API FScopeDisableRunningCookCommandlet()
Definition CoreGlobals.cpp:1020
CORE_API ~FScopeDisableRunningCookCommandlet()
Definition CoreGlobals.cpp:1028