Vivid
|
Application class. More...
#include <Application.h>
Public Member Functions | |
bool | IsRunning () |
void | Run () |
Window & | GetWindow () |
Camera * | GetCamera () |
char * | GetTitle () |
void | SetCamera (Camera *camera) |
void | Terminate () |
void | SetRenderingInterface (RenderingInterface *renderingInterface) |
Static Public Member Functions | |
static Application * | GetInstance (int width=1920, int height=1080, const char *title="Vivid", Camera *camera=nullptr) |
Application class.
A class that contains functions to create an application, run the application, get the window, get the camera, get the title, set the camera, terminate the application, and set the rendering interface.
Definition at line 18 of file Application.h.
|
inline |
Definition at line 48 of file Application.h.
|
inlinestatic |
Definition at line 39 of file Application.h.
|
inline |
Definition at line 50 of file Application.h.
|
inline |
Definition at line 46 of file Application.h.
bool Application::IsRunning | ( | ) |
Definition at line 25 of file Application.cpp.
void Application::Run | ( | ) |
Definition at line 35 of file Application.cpp.
|
inline |
Definition at line 52 of file Application.h.
|
inline |
Definition at line 56 of file Application.h.
void Application::Terminate | ( | ) |
Definition at line 30 of file Application.cpp.