The main entry point for nkAstraeus engine. More...
Public Member Functions | |
System () noexcept | |
virtual | ~System () |
GraphicsEngine * | getGraphicsEngine () const |
ScriptsEngine * | getScriptsEngine () const |
ContentLoader * | getContentLoader () const |
ProjectLoader * | getProjectLoader () const |
PbsEnvironmentMapFilter * | getPbsEnvironmentMapFilter () const |
EnvironmentRenderer * | getEnvironmentRenderer () const |
ComplexEffectManager * | getComplexEffectManager () const |
EffectManager * | getEffectManager () const |
LogManager * | getLogManager () const |
MaterialManager * | getMaterialManager () const |
bool | initialize (const Configuration &config=Configuration()) |
void | shutdown () |
The main entry point for nkAstraeus engine.
It allows to drive the initialization and shutdown of the engine. This will initialize all the sub component at once. If need be, all sub components can be initialized individually. This can be useful, for instance, to initialize the scripting environment and access wrapping alone.
|
noexcept |
Default constructor.
|
virtual |
Destructor.
GraphicsEngine* nkAstraeus::System::getGraphicsEngine | ( | ) | const |
ScriptsEngine* nkAstraeus::System::getScriptsEngine | ( | ) | const |
ContentLoader* nkAstraeus::System::getContentLoader | ( | ) | const |
ProjectLoader* nkAstraeus::System::getProjectLoader | ( | ) | const |
PbsEnvironmentMapFilter* nkAstraeus::System::getPbsEnvironmentMapFilter | ( | ) | const |
EnvironmentRenderer* nkAstraeus::System::getEnvironmentRenderer | ( | ) | const |
ComplexEffectManager* nkAstraeus::System::getComplexEffectManager | ( | ) | const |
EffectManager* nkAstraeus::System::getEffectManager | ( | ) | const |
LogManager* nkAstraeus::System::getLogManager | ( | ) | const |
MaterialManager* nkAstraeus::System::getMaterialManager | ( | ) | const |
bool nkAstraeus::System::initialize | ( | const Configuration & | config = Configuration() | ) |
Initializes the whole nkAstraeus component. This will ensure all sub components of the engine are thoroughly initialized.
config | The configuration to use when initializing the system. |
void nkAstraeus::System::shutdown | ( | ) |
Shuts down the engine and clear all memory of the component, and its sub parts.