Updated wrappers
This commit is contained in:
@@ -82,6 +82,16 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
__void__popAllStateSets,
|
||||
"pop all statesets off state stack, ensuring it is empty ready for the next frame. ",
|
||||
"Note, to return OpenGL to default state, one should do any state.popAllStatSets(); state.apply(). ");
|
||||
I_Method2(void, insertStateSet, IN, unsigned int, pos, IN, const osg::StateSet *, dstate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__insertStateSet__unsigned_int__C5_StateSet_P1,
|
||||
"Insert stateset onto state stack. ",
|
||||
"");
|
||||
I_Method1(void, removeStateSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeStateSet__unsigned_int,
|
||||
"Pop stateset off state stack. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getStateSetStackSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getStateSetStackSize,
|
||||
|
||||
@@ -121,6 +121,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::StateGraph)
|
||||
__void__moveToRootStateGraph__osg_State_R1__StateGraph_P1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(int, numToPop, IN, osg::State &, state, IN, osgUtil::StateGraph *, sg_curr,
|
||||
__int__numToPop__osg_State_R1__StateGraph_P1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, AverageDistance,
|
||||
__float__getAverageDistance,
|
||||
0);
|
||||
|
||||
Reference in New Issue
Block a user