Updated wrappers
This commit is contained in:
@@ -27,37 +27,42 @@ BEGIN_ENUM_REFLECTOR(osg::BarrierOperation::PreBlockOp)
|
||||
I_EnumLabel(osg::BarrierOperation::GL_FINISH);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BarrierOperation)
|
||||
I_BaseType(osg::Operation);
|
||||
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION,
|
||||
____BarrierOperation__int__PreBlockOp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
Properties::VIRTUAL,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Block)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Block)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0(____Block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, bool, doRelease,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__bool,
|
||||
"",
|
||||
"");
|
||||
@@ -70,22 +75,27 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Operation)
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"Set the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
"Get the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method1(void, setKeep, IN, bool, keep,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeep__bool,
|
||||
"Set whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(bool, getKeep,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getKeep,
|
||||
"Get whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
Properties::VIRTUAL,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
@@ -99,56 +109,68 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Operation)
|
||||
I_PublicMemberProperty(bool, _keep);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::OperationsThread)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::OperationsThread)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____OperationsThread,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParent, IN, osg::Object *, parent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParent__Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Object_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Object *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Object_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, add, IN, osg::Operation *, operation, , IN, bool, waitForCompletion, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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::Operation *, operation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__Operation_P1,
|
||||
"Remove operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method1(void, remove, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__C5_std_string_R1,
|
||||
"Remove named operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(void, removeAllOperations,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeAllOperations,
|
||||
"Remove all operations from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(osg::ref_ptr< osg::Operation >, getCurrentOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_ref_ptrT1_Operation___getCurrentOperation,
|
||||
"Get the operation currently being run. ",
|
||||
"");
|
||||
I_Method0(void, run,
|
||||
Properties::VIRTUAL,
|
||||
__void__run,
|
||||
"Run does the graphics thread run loop. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDone,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, cancel,
|
||||
Properties::VIRTUAL,
|
||||
__int__cancel,
|
||||
"Cancel this graphics thread. ",
|
||||
"");
|
||||
@@ -163,19 +185,20 @@ BEGIN_OBJECT_REFLECTOR(osg::OperationsThread)
|
||||
__void__setParent__Object_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
||||
I_BaseType(osg::Operation);
|
||||
I_BaseType(osg::Block);
|
||||
I_Constructor0(____ReleaseContext_Block_MakeCurrentOperation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
Properties::VIRTUAL,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
I_BaseType(osg::Operation);
|
||||
I_Constructor0(____SwapBuffersOperation,
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user