OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
This class simplify initialization / finalization of the overlay system. More...
#include <OgreOverlaySystem.h>
Public Member Functions | |
OverlaySystem () | |
virtual | ~OverlaySystem () |
void | eventOccurred (const String &eventName, const NameValuePairList *parameters) override |
A rendersystem-specific event occurred. | |
void | renderQueueStarted (uint8 queueGroupId, const String &cameraName, bool &skipThisInvocation) override |
Event raised before a queue group is rendered. | |
Public Member Functions inherited from Ogre::Singleton< OverlaySystem > | |
Singleton (void) | |
~Singleton (void) | |
Public Member Functions inherited from Ogre::RenderQueueListener | |
virtual | ~RenderQueueListener () |
virtual void | postRenderQueues () |
Event raised after all render queues are processed. | |
virtual void | preRenderQueues () |
Event raised before all render queues are processed. | |
virtual void | renderQueueEnded (uint8 queueGroupId, const String &cameraName, bool &repeatThisInvocation) |
Event raised after a queue group is rendered. | |
Public Member Functions inherited from Ogre::RenderSystem::Listener | |
Listener () | |
virtual | ~Listener () |
Static Public Member Functions | |
static OverlaySystem & | getSingleton () |
static OverlaySystem * | getSingletonPtr () |
Static Public Member Functions inherited from Ogre::Singleton< OverlaySystem > | |
static OverlaySystem & | getSingleton (void) |
Get the singleton instance. | |
static OverlaySystem * | getSingletonPtr (void) |
Get the singleton instance. | |
This class simplify initialization / finalization of the overlay system.
OGRE root did this steps before the overlay system transformed into a component.
Before you create a concrete instance of the OverlaySystem the OGRE::Root must be created but not initialized. In the ctor all relevant systems are created and registered. The dtor must be called before you delete OGRE::Root. To make the overlays visible (= render into your viewports) you have to register this instance as a RenderQueueListener in your scenemanager(s).