Navigation
Unreal Engine C++ API Reference > Runtime > Launch
References
Module | Launch |
Header | /Engine/Source/Runtime/Launch/Public/LaunchEngineLoop.h |
Include | #include "LaunchEngineLoop.h" |
Syntax
class FEngineLoop
Remarks
Implements the main engine loop.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< float > | FrameTimes | Holds a dynamically expanding array of frame times in milliseconds (if FApp::IsBenchmarking() is set). |
![]() |
uint32 | LastFrameCycles | Holds the number of cycles in the last frame. |
![]() |
uint64 | MaxFrameCounter | Holds the maximum number of frames to render in benchmarking mode. |
![]() |
double | MaxTickTime | Holds the maximum number of seconds engine should be ticked. |
![]() |
double | TotalTickTime | Holds the total time spent ticking engine. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FEngineLoop () |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~FEngineLoop () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AppExit () |
Shuts down the application. |
![]() ![]() |
bool | AppInit () |
Initializes the application. |
![]() ![]() |
void | AppPreExit () |
Prepares the application for shutdown. |
![]() |
void | Clean up PreInit context. | |
![]() |
bool | Load core modules. | |
![]() |
void | Load all modules needed before Init. | |
![]() ![]() |
void | PostInitRHI () |
RHI post-init initialization |
![]() |
int32 | PreInit
(
const TCHAR* CmdLine |
Pre-Initialize the main loop - parse command line, sets up GIsEditor, etc. |
![]() |
int32 | PreInit
(
int32 ArgC, |
Pre-Initialize the main loop, and generates the commandline from standard ArgC/ArgV from main(). |
![]() ![]() |
void | Pre-init HMD device (if necessary). | |
![]() |
int32 | PreInitPostStartupScreen
(
const TCHAR* CmdLine |
Second part of PreInit. |
![]() |
int32 | PreInitPreStartupScreen
(
const TCHAR* CmdLine |
First part of PreInit. |