engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Protected 属性 | 所有成员列表
FEngineLoop类 参考

Implements the main engine loop. 更多...

#include <LaunchEngineLoop.h>

Public 成员函数

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.
 

静态 Public 成员函数

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).
 

Protected 属性

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.

参数
CmdLineThe command line.
返回
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().

参数
ArgCThe number of strings in ArgV.
ArgVThe command line parameters (ArgV[0] is expected to be the executable name).
AdditionalCommandLineOptional 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.

该类的文档由以下文件生成: