OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Defines the interface which all components wishing to supply OverlayElement subclasses must implement. More...
#include <OgreOverlayElementFactory.h>
Public Member Functions | |
virtual | ~OverlayElementFactory () |
Destroy the overlay element factory. | |
virtual OverlayElement * | createOverlayElement (const String &instanceName)=0 |
Creates a new OverlayElement instance with the name supplied. | |
virtual void | destroyOverlayElement (OverlayElement *pElement) |
Destroys a OverlayElement which this factory created previously. | |
virtual const String & | getTypeName (void) const =0 |
Gets the string uniquely identifying the type of element this factory creates. | |
Defines the interface which all components wishing to supply OverlayElement subclasses must implement.
To allow the OverlayElement types available for inclusion on overlays to be extended, OGRE allows external apps or plugins to register their ability to create custom OverlayElements with the OverlayManager, using the addOverlayElementFactory method. Classes wanting to do this must implement this interface.
|
inlinevirtual |
Destroy the overlay element factory.
|
pure virtual |
Creates a new OverlayElement instance with the name supplied.
|
inlinevirtual |
Destroys a OverlayElement which this factory created previously.
Gets the string uniquely identifying the type of element this factory creates.