OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
This class translates script AST (abstract syntax tree) into Ogre resources. More...
#include <OgreScriptTranslator.h>
Public Member Functions | |
virtual void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node)=0 |
This function translates the given node into Ogre resource(s). More... | |
This class translates script AST (abstract syntax tree) into Ogre resources.
It defines a common interface for subclasses which perform the actual translation.
|
pure 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 |
Implemented in Ogre::CompositorPassTranslator, Ogre::CompositorStoreActionTranslator, Ogre::CompositorLoadActionTranslator, Ogre::CompositorShadowMapTargetTranslator, Ogre::CompositorShadowMapRepeatTranslator, Ogre::CompositorShadowMapTargetTypeTranslator, Ogre::CompositorTargetTranslator, Ogre::CompositorRenderTargetViewTranslator, Ogre::CompositorShadowNodeTranslator, Ogre::CompositorNodeTranslator, Ogre::CompositorWorkspaceTranslator, Ogre::ParticleAffectorTranslator2, Ogre::ParticleEmitterTranslator2, Ogre::ParticleSystemTranslator2, Ogre::ParticleAffectorTranslator, Ogre::ParticleEmitterTranslator, Ogre::ParticleSystemTranslator, Ogre::SharedParamsTranslator, Ogre::GpuProgramTranslator, Ogre::TextureSourceTranslator, Ogre::TextureUnitTranslator, Ogre::PassTranslator, Ogre::TechniqueTranslator, Ogre::MaterialTranslator, and Ogre::HlmsTranslator.