Updated wrappers

This commit is contained in:
Robert Osfield
2006-11-14 17:24:37 +00:00
parent 30ad811cac
commit 2fbda800b7
11 changed files with 282 additions and 6 deletions

View File

@@ -24,12 +24,17 @@
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
I_EnumLabel(osg::PointSprite::UPPER_LEFT);
I_EnumLabel(osg::PointSprite::LOWER_LEFT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_BaseType(osg::StateAttribute);
I_Constructor0(____PointSprite,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
@@ -77,10 +82,21 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
__void__apply__osg_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.");
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
__void__setCoordOriginMode__CoordOriginMode,
"",
"");
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
"");
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
__CoordOriginMode__getCoordOriginMode,
__void__setCoordOriginMode__CoordOriginMode);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);