This class responsible for translating core features of the RT Shader System for Ogre material scripts.
More...
#include <OgreShaderScriptTranslator.h>
|
| | SGScriptTranslator () |
| virtual SubRenderState * | getGeneratedSubRenderState (const String &typeName) |
| | Returns a sub render state of a given name which has already been created for material currently being generated by the script translator.
|
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| | operator new, with debug line info
|
| void * | operator new (size_t sz, void *ptr) |
| | placement operator new
|
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| | array operator new, with debug line info
|
| virtual void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node) |
|
| static bool | getCompareFunction (const AbstractNodePtr &node, CompareFunction *func) |
| | Converts the node to a CompareFunction enum and returns true if successful.
|
| static bool | getConstantType (AbstractNodeList::const_iterator i, GpuConstantType *op) |
| | Converts the node to a GpuConstantType enum and returns true if successful.
|
| static bool | getFloats (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, float *vals, int count) |
| | Converts the range of nodes to an array of floats and returns true if successful.
|
| static bool | getInts (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, int *vals, int count) |
| | Converts the range of nodes to an array of ints and returns true if successful.
|
| static bool | getMatrix4 (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, Matrix4 *m) |
| | Converts the range of nodes to a Matrix4 and returns true if successful.
|
| static AbstractNodeList::const_iterator | getNodeAt (const AbstractNodeList &nodes, int index) |
| | Retrieves the node iterator at the given index.
|
| static bool | getSceneBlendFactor (const AbstractNodePtr &node, SceneBlendFactor *sbf) |
| | Converts the node to a SceneBlendFactor enum and returns true if successful.
|
| static bool | getStencilOp (const AbstractNodePtr &node, StencilOperation *op) |
| | Converts the node to a StencilOperation enum and returns true if successful.
|
This class responsible for translating core features of the RT Shader System for Ogre material scripts.
Definition at line 47 of file OgreShaderScriptTranslator.h.
◆ getBoolean()
◆ getColour()
◆ getCompareFunction()
Converts the node to a CompareFunction enum and returns true if successful.
◆ getConstantType()
| bool Ogre::ScriptTranslator::getConstantType |
( |
AbstractNodeList::const_iterator | i, |
|
|
GpuConstantType * | op ) |
|
staticprotectedinherited |
Converts the node to a GpuConstantType enum and returns true if successful.
◆ getFloat()
◆ getFloats()
| bool Ogre::ScriptTranslator::getFloats |
( |
AbstractNodeList::const_iterator | i, |
|
|
AbstractNodeList::const_iterator | end, |
|
|
float * | vals, |
|
|
int | count ) |
|
staticprotectedinherited |
Converts the range of nodes to an array of floats and returns true if successful.
◆ getInt()
◆ getInts()
| bool Ogre::ScriptTranslator::getInts |
( |
AbstractNodeList::const_iterator | i, |
|
|
AbstractNodeList::const_iterator | end, |
|
|
int * | vals, |
|
|
int | count ) |
|
staticprotectedinherited |
Converts the range of nodes to an array of ints and returns true if successful.
◆ getMatrix4()
| bool Ogre::ScriptTranslator::getMatrix4 |
( |
AbstractNodeList::const_iterator | i, |
|
|
AbstractNodeList::const_iterator | end, |
|
|
Matrix4 * | m ) |
|
staticprotectedinherited |
Converts the range of nodes to a Matrix4 and returns true if successful.
◆ getNodeAt()
| AbstractNodeList::const_iterator Ogre::ScriptTranslator::getNodeAt |
( |
const AbstractNodeList & | nodes, |
|
|
int | index ) |
|
staticprotectedinherited |
Retrieves the node iterator at the given index.
◆ getReal()
◆ getSceneBlendFactor()
◆ getStencilOp()
◆ getString()
◆ getUInt()
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ processNode()
Retrieves a new translator from the factories and uses it to process the give node.
The documentation for this class was generated from the following file: