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() override
inline virtual void onBeginFrame() override
Reimplements: Application::onBeginFrame
function onClose
cpp
virtual void onClose() override
virtual void onClose() override
Reimplements: Application::onClose
function onEndFrame
cpp
inline virtual void onEndFrame() override
inline virtual void onEndFrame() override
Reimplements: Application::onEndFrame
function onInit
cpp
virtual void onInit() override
virtual void onInit() override
Reimplements: Application::onInit
function onUpdate
cpp
virtual void onUpdate(
double delta
) override
virtual void onUpdate(
double delta
) override
Reimplements: 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-01-07 at 13:40:43 +0000