diff --git a/src/osgWrappers/osg/Program.cpp b/src/osgWrappers/osg/Program.cpp index 37379f5f1..9470b3731 100644 --- a/src/osgWrappers/osg/Program.cpp +++ b/src/osgWrappers/osg/Program.cpp @@ -187,6 +187,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram) Method0(bool, isLinked); Method1(bool, getInfoLog, IN, std::string &, infoLog); Method0(void, useProgram); + Method0(void, resetAppliedUnifroms); Method1(void, apply, IN, const osg::Uniform &, uniform); Method1(GLint, getUniformLocation, IN, const std::string &, name); Method1(GLint, getAttribLocation, IN, const std::string &, name); diff --git a/src/osgWrappers/osg/Uniform.cpp b/src/osgWrappers/osg/Uniform.cpp index d98c0602a..5b8d2e903 100644 --- a/src/osgWrappers/osg/Uniform.cpp +++ b/src/osgWrappers/osg/Uniform.cpp @@ -114,9 +114,13 @@ BEGIN_OBJECT_REFLECTOR(osg::Uniform) Method1(void, setEventCallback, IN, osg::Uniform::Callback *, ec); Method0(osg::Uniform::Callback *, getEventCallback); Method0(const osg::Uniform::Callback *, getEventCallback); + Method0(void, dirty); + Method1(void, setModifiedCount, IN, unsigned int, mc); + Method0(unsigned int, getModifiedCount); Method2(void, apply, IN, const osg::GL2Extensions *, ext, IN, GLint, location); WriteOnlyPropertyWithReturnType(bool, , bool); Property(osg::Uniform::Callback *, EventCallback); + Property(unsigned int, ModifiedCount); PropertyWithReturnType(const std::string &, Name, bool); ArrayProperty_G(osg::StateSet *, Parent, Parents, unsigned int, void); ReadOnlyProperty(osg::Uniform::ParentList, Parents);