66 String file_system_path =
"./assets/";
75 bool load_shaders_from_file_system =
false;
82 bool force_cpu_renderer =
false;
#define AExport
Definition Defines.h:42
Main application singleton (use this if you want to let the library manage window creation).
Definition App.h:157
virtual RefPtr< Renderer > renderer()=0
Get the underlying Renderer instance.
virtual const Settings & settings() const =0
Get the settings this App was created with.
static App * instance()
Get the App singleton.
static RefPtr< App > Create(Settings settings=Settings(), Config config=Config())
Create the App singleton.
virtual Monitor * main_monitor()=0
Get the main monitor (this is never NULL).
virtual void Quit()=0
Quit the application.
virtual void Run()=0
Run the main loop.
virtual AppListener * listener()=0
Get the AppListener, if any.
virtual bool is_running() const =0
Whether or not the App is running.
virtual void set_listener(AppListener *listener)=0
Set an AppListener to receive callbacks for app-related events.
Interface for all App-related events.
Definition App.h:22
virtual ~AppListener()
Definition App.h:24
virtual void OnUpdate()
Called whenever the App updates.
Definition App.h:32
A platform-specific monitor.
Definition Monitor.h:16
Interface for all ref-counted objects that will be managed using the RefPtr<> smart pointer.
Definition RefPtr.h:47
A nullable smart pointer.
Definition RefPtr.h:79
Unicode string container with conversions for UTF-8, UTF-16, and UTF-32.
Definition String.h:34
A platform-specific window.
Definition Window.h:123
Core configuration for the renderer.
Definition Config.h:95
App-specific settings.
Definition App.h:38