Updated wrappers

This commit is contained in:
Robert Osfield
2005-05-16 09:41:10 +00:00
parent 668aada787
commit 74bce0e410
244 changed files with 11323 additions and 9410 deletions

View File

@@ -15,38 +15,46 @@
#include <osg/State>
#include <osg/StateAttribute>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::AlphaFunc::ComparisonFunction)
EnumLabel(osg::AlphaFunc::NEVER);
EnumLabel(osg::AlphaFunc::LESS);
EnumLabel(osg::AlphaFunc::EQUAL);
EnumLabel(osg::AlphaFunc::LEQUAL);
EnumLabel(osg::AlphaFunc::GREATER);
EnumLabel(osg::AlphaFunc::NOTEQUAL);
EnumLabel(osg::AlphaFunc::GEQUAL);
EnumLabel(osg::AlphaFunc::ALWAYS);
I_EnumLabel(osg::AlphaFunc::NEVER);
I_EnumLabel(osg::AlphaFunc::LESS);
I_EnumLabel(osg::AlphaFunc::EQUAL);
I_EnumLabel(osg::AlphaFunc::LEQUAL);
I_EnumLabel(osg::AlphaFunc::GREATER);
I_EnumLabel(osg::AlphaFunc::NOTEQUAL);
I_EnumLabel(osg::AlphaFunc::GEQUAL);
I_EnumLabel(osg::AlphaFunc::ALWAYS);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
BaseType(osg::StateAttribute);
Constructor0();
Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method0(osg::StateAttribute::Type, getType);
Method1(int, compare, IN, const osg::StateAttribute &, sa);
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func);
Method0(osg::AlphaFunc::ComparisonFunction, getFunction);
Method1(void, setReferenceValue, IN, float, value);
Method0(float, getReferenceValue);
Method1(void, apply, IN, osg::State &, state);
Property(osg::AlphaFunc::ComparisonFunction, Function);
Property(float, ReferenceValue);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
I_BaseType(osg::StateAttribute);
I_Constructor0();
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_Method0(osg::StateAttribute::Type, getType);
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func);
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction);
I_Method1(void, setReferenceValue, IN, float, value);
I_Method0(float, getReferenceValue);
I_Method1(void, apply, IN, osg::State &, state);
I_Property(osg::AlphaFunc::ComparisonFunction, Function);
I_Property(float, ReferenceValue);
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR