OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them. More...
#include <OgreCgFxScriptLoader.h>
Public Member Functions | |
CgFxScriptLoader () | |
virtual | ~CgFxScriptLoader () |
Real | getLoadingOrder (void) const |
Gets the relative loading order of scripts of this type. More... | |
const StringVector & | getScriptPatterns (void) const |
Gets the file patterns which should be used to find scripts for this class. More... | |
void | parseScript (DataStreamPtr &stream, const String &groupName) |
Parse a script file. More... | |
Static Public Member Functions | |
static CgFxScriptLoader & | getSingleton (void) |
Get the singleton instance. More... | |
static CgFxScriptLoader * | getSingletonPtr (void) |
Get the singleton instance. More... | |
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Alo manages the creation of OverlayContainers and OverlayElements, used for non-interactive 2D elements such as HUDs.
Ogre::CgFxScriptLoader::CgFxScriptLoader | ( | ) |
|
virtual |
|
virtual |
Gets the file patterns which should be used to find scripts for this class.
Implements Ogre::ScriptLoader.
|
virtual |
Parse a script file.
stream | Weak reference to a data stream which is the source of the script |
groupName | The name of a resource group which should be used if any resources are created during the parse of this script. |
Implements Ogre::ScriptLoader.
|
virtual |
Gets the relative loading order of scripts of this type.
Implements Ogre::ScriptLoader.
|
static |
Get the singleton instance.
|
static |
Get the singleton instance.