Open 3D Engine EMotionFX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
MCore::Initializer Class Reference

#include <MCoreSystem.h>

Classes

struct  InitSettings
 

Static Public Member Functions

static bool MCORE_CDECL Init (InitSettings *initSettings=nullptr)
 
static void MCORE_CDECL Shutdown ()
 

Detailed Description

The MCore system initializer. This class handles the initialization and shutdown of the core system.

Member Function Documentation

◆ Init()

static bool MCORE_CDECL MCore::Initializer::Init ( InitSettings initSettings = nullptr)
static

The init function, which creates a new MCore::gMCore object. Initializing twice is no problem, in this case nothing will happen. Unless you called Shutdown before your next Init of course.

Parameters
initSettingsA pointer to the init settings struct, or nullptr to use all default settings.
Returns
Returns true when successful or false when the init has failed for some reason.

◆ Shutdown()

static void MCORE_CDECL MCore::Initializer::Shutdown ( )
static

The shutdown method, which destructs the MCore::gMCore object. Please keep in mind that you do not have any more allocations such as string or array allocations remaining after you call the Shutdown method. Also don't create any String or Array allocations before MCore::Init() has been called.


The documentation for this class was generated from the following file: