Updated wrappers
This commit is contained in:
@@ -29,47 +29,121 @@ 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);
|
||||
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION,
|
||||
____BarrierOperation__int__PreBlockOp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Block)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method0(void, block);
|
||||
I_Method0(void, release);
|
||||
I_Method0(void, reset);
|
||||
I_Method1(void, set, IN, bool, doRelease);
|
||||
I_WriteOnlyProperty(bool, );
|
||||
I_Constructor0(____Block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
__void__block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, bool, doRelease,
|
||||
__void__set__bool,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
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);
|
||||
I_Constructor0(____GraphicsThread,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, add, IN, osg::GraphicsThread::Operation *, operation, , IN, bool, waitForCompletion, false,
|
||||
__void__add__Operation_P1__bool,
|
||||
"Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue. ",
|
||||
"");
|
||||
I_Method1(void, remove, IN, osg::GraphicsThread::Operation *, operation,
|
||||
__void__remove__Operation_P1,
|
||||
"Remove operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method1(void, remove, IN, const std::string &, name,
|
||||
__void__remove__C5_std_string_R1,
|
||||
"Remove named operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(void, removeAllOperations,
|
||||
__void__removeAllOperations,
|
||||
"Remove all operations from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(osg::ref_ptr< osg::GraphicsThread::Operation >, getCurrentOperation,
|
||||
__osg_ref_ptrT1_Operation___getCurrentOperation,
|
||||
"Get the operation currently being run. ",
|
||||
"");
|
||||
I_Method0(void, run,
|
||||
__void__run,
|
||||
"Run does the graphics thread run loop. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDone,
|
||||
__bool__getDone,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, cancel,
|
||||
__int__cancel,
|
||||
"Cancel this graphics thread. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::ref_ptr< osg::GraphicsThread::Operation >, CurrentOperation,
|
||||
__osg_ref_ptrT1_Operation___getCurrentOperation,
|
||||
0);
|
||||
I_SimpleProperty(bool, Done,
|
||||
__bool__getDone,
|
||||
__void__setDone__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread::Operation)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor2(IN, const std::string &, name, IN, bool, keep);
|
||||
I_Method1(void, setName, IN, const std::string &, name);
|
||||
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);
|
||||
I_Constructor2(IN, const std::string &, name, IN, bool, keep,
|
||||
____Operation__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"Set the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
__C5_std_string_R1__getName,
|
||||
"Get the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method1(void, setKeep, IN, bool, keep,
|
||||
__void__setKeep__bool,
|
||||
"Set whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(bool, getKeep,
|
||||
__bool__getKeep,
|
||||
"Get whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, Keep,
|
||||
__bool__getKeep,
|
||||
__void__setKeep__bool);
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
I_PublicMemberProperty(std::string, _name);
|
||||
I_PublicMemberProperty(bool, _keep);
|
||||
END_REFLECTOR
|
||||
@@ -77,23 +151,52 @@ END_REFLECTOR
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_BaseType(osg::Block);
|
||||
I_Constructor0();
|
||||
I_Method0(void, release);
|
||||
I_Constructor0(____ReleaseContext_Block_MakeCurrentOperation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_Constructor0();
|
||||
I_Constructor0(____SwapBuffersOperation,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
|
||||
I_Method0(osg::GraphicsThread::Operation *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::GraphicsThread::Operation *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
|
||||
I_ReadOnlyProperty(osg::GraphicsThread::Operation *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::GraphicsThread::Operation *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::GraphicsThread::Operation *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::GraphicsThread::Operation > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::GraphicsThread::Operation *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user