Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4.

This commit is contained in:
Robert Osfield
2005-11-11 14:22:57 +00:00
parent 91f5b9b04e
commit e5685bc1ac
3 changed files with 13 additions and 3 deletions

View File

@@ -34,6 +34,9 @@ BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
I_Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, x);
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
I_Method1(void, setMaximumNumOfTextureUnits, IN, unsigned int, i);
I_Method0(unsigned int, getMaximumNumOfTextureUnits);
I_Property(unsigned int, MaximumNumOfTextureUnits);
I_Property(osg::StateSet *, StateSet);
END_REFLECTOR