I3TApplication
#include "I3T.h"
Inherits from Application
Protected Functions
| Name | |
|---|---|
| virtual void | onBeginFrame() override |
| virtual void | onClose() override |
| virtual void | onEndFrame() override |
| virtual void | onInit() override |
| virtual void | onUpdate(double delta) override |
Public Attributes
| Name | |
|---|---|
| bool | m_debugTrackball <br>Debug switch for WindowManager, toggled in Help > Debug trackball. |
| bool | m_debugWindowManager <br>Debug switch for WindowManager, toggled in Help > Debug window manager. |
Additional inherited members
Public Functions inherited from Application
| Name | |
|---|---|
| virtual | ~Application() |
| void | beginFrame() |
| void | close()<br>Shutdown the whole application. |
| void | display() |
| void | endFrame() |
| void | enqueueCommand(ICommand * command)<br>Issue command. |
| const std::string & | getTitle() |
| GLFWwindow * | getWindow()<br>Get the main GLFW window. |
| bool | init()<br>Performs initialization of the application. |
| void | initWindow()<br>Init OpenGL stuffs before display loop. |
| int | run()<br>Enter main loop. |
| void | setTitle(const std::string & title) |
| void | update()<br>Perform logic update. |
| template <typename T ,typename... Args> <br>T * | createModule(Args &&... args)<br>Creates instance of module, registers it to the application, and calls its init() method. |
| Application & | get() |
| GLFWwindow * | getCurrentWindow()<br>Get the active GLFW window. |
| template <typename T > <br>T & | getModule() |
Protected Functions inherited from Application
| Name | |
|---|---|
| Application() |
Protected Functions Documentation
function onBeginFrame
cpp
inline virtual void onBeginFrame() overrideinline virtual void onBeginFrame() overrideReimplements: Application::onBeginFrame
function onClose
cpp
virtual void onClose() overridevirtual void onClose() overrideReimplements: Application::onClose
function onEndFrame
cpp
inline virtual void onEndFrame() overrideinline virtual void onEndFrame() overrideReimplements: Application::onEndFrame
function onInit
cpp
virtual void onInit() overridevirtual void onInit() overrideReimplements: Application::onInit
function onUpdate
cpp
virtual void onUpdate(
double delta
) overridevirtual void onUpdate(
double delta
) overrideReimplements: Application::onUpdate
Public Attributes Documentation
variable m_debugTrackball
cpp
bool m_debugTrackball = false;bool m_debugTrackball = false;Debug switch for WindowManager, toggled in Help > Debug trackball.
variable m_debugWindowManager
cpp
bool m_debugWindowManager = false;bool m_debugWindowManager = false;Debug switch for WindowManager, toggled in Help > Debug window manager.
Updated on 2025-09-07 at 16:13:50 +0000