|
Hymn to Beauty
C++ 3D Engine
|
An instance of the engine. More...
#include <Engine.hpp>
Classes | |
| struct | Configuration |
| Engine configuration. More... | |
Public Member Functions | |
| bool | Start () |
| Start the engine based on the Configuration. More... | |
| Utility::Window * | GetWindow () |
| Get the window. More... | |
| bool | ShouldClose () const |
| Get whether the application should close. More... | |
| void | Update () |
| Update the engine. More... | |
| double | GetDeltaTime () const |
| Get time between frames. More... | |
| void | Render () |
| Render a frame. More... | |
| void | Present () |
| Swap buffers and wait for next frame. More... | |
| void | Shutdown () |
| Shut down the engine. More... | |
Public Attributes | |
| struct Engine::Configuration | configuration |
An instance of the engine.
| double Engine::GetDeltaTime | ( | ) | const |
Get time between frames.
| Utility::Window * Engine::GetWindow | ( | ) |
Get the window.
| void Engine::Present | ( | ) |
Swap buffers and wait for next frame.
| void Engine::Render | ( | ) |
Render a frame.
| bool Engine::ShouldClose | ( | ) | const |
Get whether the application should close.
| void Engine::Shutdown | ( | ) |
Shut down the engine.
| bool Engine::Start | ( | ) |
Start the engine based on the Configuration.
Sets up libraries, creates a window and starts managers.
| void Engine::Update | ( | ) |
Update the engine.
Updates the moving parts of the engine.
| struct Engine::Configuration Engine::configuration |