Implements the main engine loop.
更多...
#include <LaunchEngineLoop.h>
|
|
void | CleanupPreInitContext () |
| | Clean up PreInit context.
|
| |
|
| FEngineLoop () |
| | Default constructor.
|
| |
|
bool | LoadCoreModules () |
| | Load core modules.
|
| |
|
void | LoadPreInitModules () |
| | Load all modules needed before Init.
|
| |
| int32 | PreInit (const TCHAR *CmdLine) |
| | Pre-Initialize the main loop - parse command line, sets up GIsEditor, etc. 更多...
|
| |
| int32 | PreInit (int32 ArgC, TCHAR *ArgV[], const TCHAR *AdditionalCommandline=nullptr) |
| | Pre-Initialize the main loop, and generates the commandline from standard ArgC/ArgV from main(). 更多...
|
| |
|
int32 | PreInitPostStartupScreen (const TCHAR *CmdLine) |
| | Second part of PreInit.
|
| |
|
int32 | PreInitPreStartupScreen (const TCHAR *CmdLine) |
| | First part of PreInit.
|
| |
|
| static void | AppExit () |
| | Shuts down the application. 更多...
|
| |
|
static bool | AppInit () |
| | Initializes the application.
|
| |
| static void | AppPreExit () |
| | Prepares the application for shutdown. 更多...
|
| |
|
static void | PostInitRHI () |
| | RHI post-init initialization
|
| |
|
static void | PreInitHMDDevice () |
| | Pre-init HMD device (if necessary).
|
| |
|
|
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.
|
| |
Implements the main engine loop.
◆ AppExit()
| static void FEngineLoop::AppExit |
( |
| ) |
|
|
static |
Shuts down the application.
This function called outside guarded exit code, during all exits (including error exits).
◆ AppPreExit()
| static void FEngineLoop::AppPreExit |
( |
| ) |
|
|
static |
Prepares the application for shutdown.
This function is called from within guarded exit code, only during non-error exits.
◆ PreInit() [1/2]
| int32 FEngineLoop::PreInit |
( |
const TCHAR * |
CmdLine | ) |
|
Pre-Initialize the main loop - parse command line, sets up GIsEditor, etc.
- 参数
-
- 返回
- The error level; 0 if successful, > 0 if there were errors.
◆ PreInit() [2/2]
| int32 FEngineLoop::PreInit |
( |
int32 |
ArgC, |
|
|
TCHAR * |
ArgV[], |
|
|
const TCHAR * |
AdditionalCommandline = nullptr |
|
) |
| |
Pre-Initialize the main loop, and generates the commandline from standard ArgC/ArgV from main().
- 参数
-
| ArgC | The number of strings in ArgV. |
| ArgV | The command line parameters (ArgV[0] is expected to be the executable name). |
| AdditionalCommandLine | Optional string to append to the command line (after ArgV is put together). |
- 返回
- Returns the error level, 0 if successful and > 0 if there were errors.
该类的文档由以下文件生成: