Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
More...
#include <OgreCgFxScriptLoader.h>
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.
◆ CgFxScriptLoader()
| Ogre::CgFxScriptLoader::CgFxScriptLoader |
( |
| ) |
|
◆ ~CgFxScriptLoader()
| virtual Ogre::CgFxScriptLoader::~CgFxScriptLoader |
( |
| ) |
|
|
virtual |
◆ getScriptPatterns()
| const StringVector & Ogre::CgFxScriptLoader::getScriptPatterns |
( |
void |
| ) |
const |
|
virtual |
Gets the file patterns which should be used to find scripts for this class.
- Returns
- A list of file patterns, in the order they should be searched in.
Implements Ogre::ScriptLoader.
◆ parseScript()
Parse a script file.
- Parameters
-
| 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.
◆ getLoadingOrder()
| Real Ogre::CgFxScriptLoader::getLoadingOrder |
( |
void |
| ) |
const |
|
virtual |
Gets the relative loading order of scripts of this type.
- Returns
- A value representing the relative loading order of these scripts compared to other script users, where higher values load later.
Implements Ogre::ScriptLoader.
◆ getSingleton()
Get the singleton instance.
◆ getSingletonPtr()
Get the singleton instance.
The documentation for this class was generated from the following file: