|
| | ApplicationTemplate (const char *window_name, unsigned int width, unsigned int height, unsigned int fullscreen_width, unsigned int fullscreen_height, std::string &scene_path, bool resizable=false, bool imgui=false) |
| |
| void | OnUpdate (double frame_time) override |
| |
| void | OnRender () override |
| |
| | Application (const char *window_name, unsigned int width, unsigned int height, unsigned int fullscreen_width, unsigned int fullscreen_height, bool resizable=false, bool imgui=true) |
| |
| | ~Application () |
| |
| void | Run () |
| |
| virtual void | OnImGuiUpdate () |
| |
| virtual void | OnImGuiRender () |
| |
Definition at line 20 of file application_template.cpp.
◆ ApplicationTemplate()
| ApplicationTemplate::ApplicationTemplate |
( |
const char * | window_name, |
|
|
unsigned int | width, |
|
|
unsigned int | height, |
|
|
unsigned int | fullscreen_width, |
|
|
unsigned int | fullscreen_height, |
|
|
std::string & | scene_path, |
|
|
bool | resizable = false, |
|
|
bool | imgui = false ) |
|
inline |
◆ OnRender()
| void ApplicationTemplate::OnRender |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnUpdate()
| void ApplicationTemplate::OnUpdate |
( |
double | frame_time | ) |
|
|
inlineoverridevirtual |
This function is called every m_FixedTimeStep seconds. It's independent from the framerate. Edit m_FixedTimeStep to change the time between two calls.
- Parameters
-
| frame_time | the current frame time, should be m_FixedTimeStep |
Reimplemented from Application.
Definition at line 35 of file application_template.cpp.
The documentation for this class was generated from the following file: