Game Development Reference
In-Depth Information
Ogre
Ogre3D handles the general update loop and window management of the sandbox.
BaseApplication
implements the
Ogre::FrameListener
interface in order to
implement both the
Update
and
Draw
calls of the sandbox:
The following is a class overview of the
OgreFrameListener.h
header:
The Ogre3D FrameListener interface functions
The second interface, which is
Ogre::WindowEventListener
, enables the sandbox
to receive specific callbacks to window events, such as the window movement, resizing,
closing, closed, and window focus change:
The following is a class overview of the
OgreWindowEventListener.h
header:
The Ogre3D WindowEventListener interface functions