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