Updated wrappers
This commit is contained in:
parent
c2f1527fe0
commit
86893a507f
@ -29,6 +29,7 @@ END_REFLECTOR
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION);
|
||||
I_Method0(void, release);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Block)
|
||||
@ -45,8 +46,16 @@ BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_MethodWithDefaults2(void, add, IN, osg::GraphicsThread::Operation *, operation, , IN, bool, waitForCompletion, false);
|
||||
I_Method1(void, remove, IN, osg::GraphicsThread::Operation *, operation);
|
||||
I_Method1(void, remove, IN, const std::string &, name);
|
||||
I_Method0(void, removeAllOperations);
|
||||
I_Method0(osg::ref_ptr< osg::GraphicsThread::Operation >, getCurrentOperation);
|
||||
I_Method0(void, run);
|
||||
I_Method1(void, setDone, IN, bool, done);
|
||||
I_Method0(bool, getDone);
|
||||
I_Method0(int, cancel);
|
||||
I_ReadOnlyProperty(osg::ref_ptr< osg::GraphicsThread::Operation >, CurrentOperation);
|
||||
I_Property(bool, Done);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread::Operation)
|
||||
@ -56,6 +65,7 @@ BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread::Operation)
|
||||
I_Method0(const std::string &, getName);
|
||||
I_Method1(void, setKeep, IN, bool, keep);
|
||||
I_Method0(bool, getKeep);
|
||||
I_Method0(void, release);
|
||||
I_Property(bool, Keep);
|
||||
I_Property(const std::string &, Name);
|
||||
END_REFLECTOR
|
||||
@ -64,6 +74,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_BaseType(osg::Block);
|
||||
I_Constructor0();
|
||||
I_Method0(void, release);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
@ -71,3 +82,15 @@ BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::GraphicsThread::Operation *, t);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::GraphicsThread::Operation *, get);
|
||||
I_Method0(const osg::GraphicsThread::Operation *, get);
|
||||
I_Method0(osg::GraphicsThread::Operation *, take);
|
||||
I_Method0(osg::GraphicsThread::Operation *, release);
|
||||
I_ReadOnlyProperty(osg::GraphicsThread::Operation *, );
|
||||
END_REFLECTOR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user