- Returns
- Reference to the primary CameraManager
std::shared_ptr< Core::Clock > Ocular::Engine::Clock |
( |
| ) |
const |
- Returns
- Reference to the primary Clock
std::shared_ptr< Utils::Config > Ocular::Engine::Config |
( |
| ) |
const |
- Returns
- Reference to the primary Configuration handler
- Returns
- Reference to the primary EventManager
- Returns
- Reference to the primary GraphicsDriver.
- Returns
- Reference to the primary Hash Generator
Initializes all of the core objects and subsystems of the Ocular Engine. These include:
-
Clock
-
Logger
-
WindowManager
- Note
- Engine must be initialized before any other action is taken
- Returns
- TRUE if intiailized without any issues.
- Returns
- Reference to the primary InputHandler.
bool Ocular::Engine::isRunning |
( |
| ) |
const |
- Returns
- TRUE if the engine is running.
- Returns
- Reference to the primary LightManager
std::shared_ptr< Core::Logger > Ocular::Engine::Logger |
( |
| ) |
const |
- Returns
- Reference to the primary Logger
- Returns
- Reference to the primary Profiler
- Returns
- Reference to the primary ResourceManager
bool Ocular::Engine::run |
( |
| ) |
|
Runs a single frame of the engine. Each frame consists of the following actions in the specified order:
1. Update
I. Clock tick
II. System info refresh
III. Windows updated (system messages)
IV. Event queue processed
V. Scene update (tree restructures, routines update)
2. Render
- Returns
- Returns true as long as no shutdown message (Core::Events::ShutdownEvent) has been received (value of isRunning).
- Returns
- Reference to the primary SceneManager
bool Ocular::Engine::shutdown |
( |
| ) |
|
Safely destroys and removes all subsystems used by the Ocular Engine.
- Returns
- TRUE is shutdown without any issues.
std::shared_ptr< Utils::String > Ocular::Engine::StringUtils |
( |
| ) |
const |
- Returns
- Reference to the primary String Utilities
- Returns
- Reference to the primary ThreadManager
- Returns
- Reference to the primary WindowManager
The documentation for this class was generated from the following files:
- C:/Projects/OcularEngine/OcularCore/include/OcularEngine.hpp
- C:/Projects/OcularEngine/OcularCore/src/OcularEngine.cpp