Updated wrappers

This commit is contained in:
Robert Osfield
2007-07-14 17:16:09 +00:00
parent 1f0edca631
commit 06ad036da1
2 changed files with 20 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_BaseType(osg::Operation);
I_BaseType(OpenThreads::Barrier);
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION,
____BarrierOperation__int__PreBlockOp,

View File

@@ -10,6 +10,7 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Camera>
#include <osg/Referenced>
#include <osg/RenderInfo>
#include <osg/State>
@@ -72,6 +73,21 @@ BEGIN_VALUE_REFLECTOR(osg::RenderInfo)
__C5_View_P1__getView,
"",
"");
I_Method1(void, pushCamera, IN, osg::Camera *, camera,
Properties::NON_VIRTUAL,
__void__pushCamera__Camera_P1,
"",
"");
I_Method0(void, popCamera,
Properties::NON_VIRTUAL,
__void__popCamera,
"",
"");
I_Method0(osg::Camera *, getCurrentCamera,
Properties::NON_VIRTUAL,
__Camera_P1__getCurrentCamera,
"",
"");
I_Method1(void, setUserData, IN, osg::Referenced *, userData,
Properties::NON_VIRTUAL,
__void__setUserData__Referenced_P1,
@@ -90,6 +106,9 @@ BEGIN_VALUE_REFLECTOR(osg::RenderInfo)
I_SimpleProperty(unsigned int, ContextID,
__unsigned_int__getContextID,
0);
I_SimpleProperty(osg::Camera *, CurrentCamera,
__Camera_P1__getCurrentCamera,
0);
I_SimpleProperty(osg::State *, State,
__State_P1__getState,
__void__setState__State_P1);