|
wren
Vulkan-based game engine
|
#include <application.hpp>
Public Types | |
| enum class | Errors |
Public Member Functions | |
| auto | context () -> const std::shared_ptr< Context > & |
| void | run () |
| void | add_callback_to_startup_phase (const startup_phase_cb_t &cb) |
| void | add_callback_to_update_phase (const update_phase_cb_t &cb) |
| void | add_callback_to_shutdown_phase (const shutdown_phase_cb_t &cb) |
Static Public Member Functions | |
| static auto | create (const std::string &application_name) -> expected< std::shared_ptr< Application > > |
Private Member Functions | |
| Application (const std::shared_ptr< Context > &ctx, const std::shared_ptr< Renderer > &renderer) | |
Private Attributes | |
| std::shared_ptr< Context > | ctx_ |
| std::shared_ptr< Renderer > | renderer_ |
| std::vector< phase_cb_t > | startup_phase_ |
| std::vector< update_phase_cb_t > | update_phase_ |
| std::vector< phase_cb_t > | shutdown_phase_ |
| bool | running_ |
|
strong |
|
explicitprivate |

|
inline |
|
inline |
|
inline |
|
inline |
|
static |


| void wren::Application::run | ( | ) |

|
private |
|
private |
|
private |
|
private |
|
private |
|
private |