13 #include <osg/Drawable>
15 #include <boost/unordered_map.hpp>
36 virtual void drawImplementation(osg::RenderInfo& renderInfo,
const osg::Drawable* drawable)
const;
39 void setValue(
const osg::View* v,
int val);
42 float getValue(
const osg::View* v)
const;
47 GLuint
findLocation(
const osg::Program::PerContextProgram* program);
50 typedef std::pair<const osg::Program::PerContextProgram*, GLuint>
ProgramKey;
54 typedef boost::unordered_map<const osg::View*, float>
ViewToValue;