nCine::IAppEventHandler class

Interface for handling nCine application events.

Constructors, destructors, conversion operators

~IAppEventHandler() pure virtual

Public functions

void OnPreInitialize(AppConfiguration& config) virtual
Called once before initialization to setup the application.
void OnInitialize() virtual
Called once on application initialization.
void OnBeginFrame() virtual
Called at the start of each frame.
void OnPostUpdate() virtual
Called every time the scenegraph has been traversed and all nodes have been transformed.
void OnDrawViewport(Viewport& viewport) virtual
Called every time a viewport is going to be drawn.
void OnEndFrame() virtual
Called at the end of each frame, just before swapping buffers.
void OnResizeWindow(std::int32_t width, std::int32_t height) virtual
Called every time the window is resized (by the system or the user)
void OnShutdown() virtual
Called once on application shutdown.
void OnSuspend() virtual
Called every time the application needs to be suspended.
void OnResume() virtual
Called every time the application resumes from suspension.