Updated wrappers

This commit is contained in:
Robert Osfield
2006-10-24 09:45:50 +00:00
parent 85dc696c09
commit c892fafa1c
266 changed files with 37808 additions and 9935 deletions

View File

@@ -41,17 +41,51 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES);
I_Method0(void, reset);
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode);
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode);
I_Method1(void, setState, IN, osg::State *, state);
I_Method0(osg::State *, getState);
I_Method1(void, apply, IN, osg::Node &, node);
I_Method1(void, apply, IN, osg::Geode &, node);
I_Method1(void, apply, IN, osg::Drawable &, drawable);
I_Method1(void, apply, IN, osg::StateSet &, stateset);
I_Property(osgUtil::GLObjectsVisitor::Mode, Mode);
I_Property(osg::State *, State);
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES,
____GLObjectsVisitor__Mode,
"Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ",
"Default mode is to compile GL objects.");
I_Method0(void, reset,
__void__reset,
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode,
__void__setMode__Mode,
"Set the operational mode of what operations to do on the scene graph. ",
"");
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode,
__Mode__getMode,
"Get the operational mode. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
__void__setState__osg_State_P1,
"Set the State to use during traversal. ",
"");
I_Method0(osg::State *, getState,
__osg_State_P1__getState,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
__void__apply__osg_Node_R1,
"Simply traverse using standard NodeVisitor traverse method. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
__void__apply__osg_Geode_R1,
"For each Geode visited set the display list usage according to the _displayListMode. ",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method1(void, apply, IN, osg::StateSet &, stateset,
__void__apply__osg_StateSet_R1,
"",
"");
I_SimpleProperty(osgUtil::GLObjectsVisitor::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(osg::State *, State,
__osg_State_P1__getState,
__void__setState__osg_State_P1);
END_REFLECTOR