Updated wrappers

This commit is contained in:
Robert Osfield 2005-05-03 22:02:37 +00:00
parent 56882a7413
commit 1571209a82
2 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -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);