Stores and defines Engine wide data and functionalities.
More...
#include <Engine.h>
Stores and defines Engine wide data and functionalities.
Definition at line 60 of file Engine.h.
◆ CreateWindow()
| static void Hubris::Engine::CreateWindow |
( |
| ) |
|
|
inlinestatic |
◆ GetPlatformConfig()
| static EngineConfig Hubris::Engine::GetPlatformConfig |
( |
std::string | ProjectName = "Default", |
|
|
const Version & | ProjectVersion = {0,0,0,0} ) |
|
inlinestaticnoexcept |
Returns the default platform's (Windows, Linux, etc...) default engine configuration.
Definition at line 88 of file Engine.h.
◆ GetPluginManager()
| static void Hubris::Engine::GetPluginManager |
( |
| ) |
|
|
inlinestatic |
Get the Plugin Manager object. [A planned feature].
Definition at line 160 of file Engine.h.
◆ GetProjectName()
| static const std::string & Hubris::Engine::GetProjectName |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ GetProjectVersion()
| static const Version & Hubris::Engine::GetProjectVersion |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ GetWindow()
◆ Init()
| static void Hubris::Engine::Init |
( |
const EngineConfig & | config | ) |
|
|
inlinestaticnoexcept |
Initializes the engine (headless) for the first time called. TODO: Make sure this is a headless initializer.
Definition at line 106 of file Engine.h.
◆ Loop()
| static void Hubris::Engine::Loop |
( |
| ) |
|
|
inlinestatic |
The Engine Executes the main loop once, then returns control to user.
- Warning
- This requires the Engine to be initialized first.
Definition at line 142 of file Engine.h.
◆ Run()
| static void Hubris::Engine::Run |
( |
| ) |
|
|
inlinestatic |
Yields control to the engine logic. The Engine will run until the program exits.
This Calls Loop() in a loop.
- Warning
- This requires the Engine to be initialized first.
Definition at line 131 of file Engine.h.
◆ Shutdown()
| static void Hubris::Engine::Shutdown |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: