wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::Application Class Reference

#include <application.hpp>

Public Types

enum class  errors
 

Public Member Functions

auto context () -> std::shared_ptr< Context > const &
 
void run ()
 
void add_callback_to_phase (CallbackPhase phase, phase_cb_t const &cb)
 

Static Public Member Functions

static auto Create (std::string const &application_name) -> expected< std::shared_ptr< Application > >
 

Member Enumeration Documentation

◆ errors

enum class wren::Application::errors
strong

Member Function Documentation

◆ add_callback_to_phase()

void wren::Application::add_callback_to_phase ( CallbackPhase phase,
phase_cb_t const & cb )

◆ context()

auto wren::Application::context ( ) -> std::shared_ptr<Context> const &
inline

◆ Create()

auto wren::Application::Create ( std::string const & application_name) -> expected<std::shared_ptr<Application>>
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void wren::Application::run ( )

The documentation for this class was generated from the following files: