14 #include <osg/NodeVisitor>
15 #include <osgDB/Options>
18 #include <boost/thread.hpp>
19 #include <boost/unordered_map.hpp>
23 class DtOsgEffectTextureController;
25 class DtOsgShaderManager;
50 unsigned getNumEffectTexturesInstalled()
const;
60 virtual bool checkAndSetIgnoreHint(osg::Object* obj,
bool val);
65 virtual void setIgnoreHint(osg::Object* obj,
bool val);
70 static boost::unordered_map<std::string, std::vector<std::pair<std::string, std::string> > >
myDirFileList;
74 void apply(osg::Node& node);
75 void apply(osg::Geode& geode);
79 virtual bool ignore(osg::Object* obj);
82 void apply(osg::StateSet* stateSet);
84 bool installEffectTextures(
osg::Texture* tex,
int texUnit, osg::StateSet* stateSet);
88 typedef std::vector<osg::ref_ptr<DtOsgEffectTextureController> >
Controllers;