Go to the documentation of this file.
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;
Class representing the state of a single texture unit during a Pass of a Technique,...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
This class translates script AST (abstract syntax tree) into Ogre resources.
Class representing a Compositor object.
Object representing one pass or operation in a composition sequence.
This class manages the builtin translators.
Class encapsulates rendering properties of an object.
This specific abstract node represents a script object.
Class defining a single pass of a Technique (of a Material), i.e.
Class representing an approach to rendering this particular Material.
Base composition technique, can be subclassed in plugins.
virtual ~ScriptTranslatorManager()
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
StencilOperation
Enum describing the various actions which can be taken on the stencil buffer.
Class encapsulating a standard 4x4 homogeneous matrix.
SceneBlendFactor
Blending factors for manually blending objects with the scene.
Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
Ogre::AliasTextureNamePairList mTextureAliases
This is the main class for the compiler.
The ScriptTranslatorManager manages the lifetime and access to script translators.
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
Abstract class defining the interface to be implemented by particle emitters.
Reference-counted shared pointer, used for objects where implicit destruction is required.
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
Class representing colour.
list< AbstractNodePtr >::type AbstractNodeList
Class defining particle system based special effects.
virtual ~ScriptTranslator()
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &)=0
Returns a manager for the given object abstract node, or null if it is not supported.
float Real
Software floating point type.
Abstract class defining the interface to be implemented by particle affectors.
virtual size_t getNumTranslators() const =0
Returns the number of translators being managed.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.