Updated wrappers
This commit is contained in:
@@ -30,7 +30,7 @@ BEGIN_ENUM_REFLECTOR(osg::Multisample::Mode)
|
||||
I_EnumLabel(osg::Multisample::DONT_CARE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Multisample)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Multisample,
|
||||
"",
|
||||
@@ -40,62 +40,77 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setSampleCoverage, IN, float, coverage, IN, bool, invert,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSampleCoverage__float__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoverage, IN, float, coverage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoverage__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getCoverage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCoverage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInvert, IN, bool, invert,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInvert__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getInvert,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getInvert,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHint, IN, osg::Multisample::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHint__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Multisample::Mode, getHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getHint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
@@ -121,45 +136,55 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Multisample::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Multisample::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Multisample::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMultisampleSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMultisampleSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMultisampleFilterHintSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMultisampleFilterHintSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMultisampleSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isMultisampleSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMultisampleFilterHintSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isMultisampleFilterHintSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSampleCoverageProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSampleCoverageProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glSampleCoverage, IN, GLclampf, value, IN, GLboolean, invert,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glSampleCoverage__GLclampf__GLboolean,
|
||||
"",
|
||||
"");
|
||||
|
||||
Reference in New Issue
Block a user