represents a single application that gets created by the engine internally More...
Public Member Functions | |
| application (ref< graphics_context > p_context, const application_settings &p_params) | |
| constructs a new application | |
| void | execute () |
| Explicitly is used to execute the application's mainloop. | |
| void | post_destroy () |
| Performs any post cleanup when user requests the application to close. | |
| VkSwapchainKHR | get_current_swapchain () |
| gives you the current swapchain handle | |
Static Public Member Functions | |
| static float | delta_time () |
| static graphics_api | current_api () |
| we only ever have one window | |
Protected Member Functions | |
| ref< renderer_system > | renderer_instance () const |
represents a single application that gets created by the engine internally
There is only ever going to be one application tied to the engine's runtime. As the application is given responsibilities of preloading, pre-initialization any sort of utilities required by the engine, and any form of post-cleanup when the user requests the application to close.
|
inlineexport |
constructs a new application
| p_settings | is the specific application settings to configure how the application may be setup |
|
inlinestaticexport |
we only ever have one window
This static function was a means to getting access to the window to perform any operations or request any data the window may have to provide
|
inlinestaticexport |
|
inlineexport |
gives you the current swapchain handle
TODO: This is not actually needed, and should be removed