29 #ifndef __SCRIPTTRANSLATOR_H_
30 #define __SCRIPTTRANSLATOR_H_
64 static AbstractNodeList::const_iterator getNodeAt(
const AbstractNodeList &nodes,
int index);
78 static bool getColour(AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end,
ColourValue *result,
int maxEntries = 4);
84 static bool getMatrix4(AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end,
Matrix4 *m);
86 static bool getInts(AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end,
int *vals,
int count);
88 static bool getFloats(AbstractNodeList::const_iterator i, AbstractNodeList::const_iterator end,
float *vals,
int count);
92 static bool getConstantType(AbstractNodeList::const_iterator i,
GpuConstantType *op);
280 virtual size_t getNumTranslators()
const;