Updated wrappers

This commit is contained in:
Robert Osfield
2009-05-28 08:25:18 +00:00
parent 825d701757
commit f49c026803
2 changed files with 11 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ BEGIN_ENUM_REFLECTOR(osgUtil::RenderBin::SortMode)
I_EnumLabel(osgUtil::RenderBin::SORT_BY_STATE_THEN_FRONT_TO_BACK);
I_EnumLabel(osgUtil::RenderBin::SORT_FRONT_TO_BACK);
I_EnumLabel(osgUtil::RenderBin::SORT_BACK_TO_FRONT);
I_EnumLabel(osgUtil::RenderBin::TRAVERSAL_ORDER);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osgUtil::RenderLeaf * >, osgUtil::RenderBin::RenderLeafList)
@@ -239,6 +240,11 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderBin)
__void__sortBackToFront,
"",
"");
I_Method0(void, sortTraversalOrder,
Properties::VIRTUAL,
__void__sortTraversalOrder,
"",
"");
I_Method1(void, setSortCallback, IN, osgUtil::RenderBin::SortCallback *, sortCallback,
Properties::NON_VIRTUAL,
__void__setSortCallback__SortCallback_P1,

View File

@@ -28,13 +28,13 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf)
I_DeclaringFile("osgUtil/RenderLeaf");
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults4(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
I_ConstructorWithDefaults5(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f, IN, unsigned int, traversalNumber, 0,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float__unsigned_int,
"",
"");
I_MethodWithDefaults4(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
I_MethodWithDefaults5(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f, IN, unsigned int, traversalNumber, 0,
Properties::NON_VIRTUAL,
__void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
__void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float__unsigned_int,
"",
"");
I_Method0(void, reset,
@@ -61,5 +61,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf)
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview);
I_PublicMemberProperty(float, _depth);
I_PublicMemberProperty(bool, _dynamic);
I_PublicMemberProperty(unsigned int, _traversalNumber);
END_REFLECTOR