#include <OgreScriptTranslator.h>
Public Member Functions | |
TechniqueTranslator () | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node) |
This function translates the given node into Ogre resource(s). More... | |
Protected Member Functions | |
void | processNode (ScriptCompiler *compiler, const AbstractNodePtr &node) |
Retrieves a new translator from the factories and uses it to process the give node. More... | |
Static Protected Member Functions | |
static bool | getBoolean (const AbstractNodePtr &node, bool *result) |
Converts the node to a boolean and returns true if successful. More... | |
static bool | getColour (AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end, ColourValue *result, int maxEntries=4) |
Converts the range of nodes to a ColourValue and returns true if successful. More... | |
static bool | getCompareFunction (const AbstractNodePtr &node, CompareFunction *func) |
Converts the node to a CompareFunction enum and returns true if successful. More... | |
static bool | getConstantType (AbstractNodeList::const_iterator i, GpuConstantType *op) |
Converts the node to a GpuConstantType enum and returns true if successful. More... | |
static bool | getFloat (const AbstractNodePtr &node, float *result) |
Converts the node to a float and returns true if successful. More... | |
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. More... | |
static bool | getInt (const AbstractNodePtr &node, int *result) |
Converts the node to an integer and returns true if successful. More... | |
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. More... | |
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. More... | |
static AbstractNodeList::const_iterator | getNodeAt (const AbstractNodeList &nodes, int index) |
Retrieves the node iterator at the given index. More... | |
static bool | getReal (const AbstractNodePtr &node, Real *result) |
Converts the node to a Real and returns true if successful. More... | |
static bool | getSceneBlendFactor (const AbstractNodePtr &node, SceneBlendFactor *sbf) |
Converts the node to a SceneBlendFactor enum and returns true if successful. More... | |
static bool | getStencilOp (const AbstractNodePtr &node, StencilOperation *op) |
Converts the node to a StencilOperation enum and returns true if successful. More... | |
static bool | getString (const AbstractNodePtr &node, String *result) |
Converts the node to a string and returns true if successful. More... | |
static bool | getUInt (const AbstractNodePtr &node, uint32 *result) |
Converts the node to an unsigned integer and returns true if successful. More... | |
Protected Attributes | |
Technique * | mTechnique |
Definition at line 125 of file OgreScriptTranslator.h.
Ogre::TechniqueTranslator::TechniqueTranslator | ( | ) |
|
staticprotectedinherited |
Converts the node to a boolean and returns true if successful.
|
staticprotectedinherited |
Converts the range of nodes to a ColourValue and returns true if successful.
|
staticprotectedinherited |
Converts the node to a CompareFunction enum and returns true if successful.
|
staticprotectedinherited |
Converts the node to a GpuConstantType enum and returns true if successful.
|
staticprotectedinherited |
Converts the node to a float and returns true if successful.
|
staticprotectedinherited |
Converts the range of nodes to an array of floats and returns true if successful.
|
staticprotectedinherited |
Converts the node to an integer and returns true if successful.
|
staticprotectedinherited |
Converts the range of nodes to an array of ints and returns true if successful.
|
staticprotectedinherited |
Converts the range of nodes to a Matrix4 and returns true if successful.
|
staticprotectedinherited |
Retrieves the node iterator at the given index.
|
staticprotectedinherited |
Converts the node to a Real and returns true if successful.
|
staticprotectedinherited |
Converts the node to a SceneBlendFactor enum and returns true if successful.
|
staticprotectedinherited |
Converts the node to a StencilOperation enum and returns true if successful.
|
staticprotectedinherited |
Converts the node to a string and returns true if successful.
|
staticprotectedinherited |
Converts the node to an unsigned integer and returns true if successful.
|
inlineinherited |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
|
protectedinherited |
Retrieves a new translator from the factories and uses it to process the give node.
|
virtual |
This function translates the given node into Ogre resource(s).
compiler | The compiler invoking this translator |
node | The current AST node to be translated |
Implements Ogre::ScriptTranslator.
|
protected |
Definition at line 128 of file OgreScriptTranslator.h.