From Marco Jez, improvements to osgIntrospection, and new automatically generated

osgWrappers/osg set.
This commit is contained in:
Robert Osfield
2005-04-07 20:00:17 +00:00
parent 5b4482c70d
commit 7a27a0bef7
132 changed files with 8608 additions and 301 deletions

View File

@@ -0,0 +1,76 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/TextureCubeMap>
BEGIN_ENUM_REFLECTOR(osg::TextureCubeMap::Face)
EnumLabel(osg::TextureCubeMap::POSITIVE_X);
EnumLabel(osg::TextureCubeMap::NEGATIVE_X);
EnumLabel(osg::TextureCubeMap::POSITIVE_Y);
EnumLabel(osg::TextureCubeMap::NEGATIVE_Y);
EnumLabel(osg::TextureCubeMap::POSITIVE_Z);
EnumLabel(osg::TextureCubeMap::NEGATIVE_Z);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
BaseType(osg::Texture);
Constructor0();
ConstructorWithDefaults2(IN, const osg::TextureCubeMap &, cm, , 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 &, rhs);
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image);
Method1(osg::Image *, getImage, IN, unsigned int, face);
Method1(const osg::Image *, getImage, IN, unsigned int, face);
Method0(unsigned int, getNumImages);
Method2(unsigned int &, getModifiedCount, IN, unsigned int, face, IN, unsigned int, contextID);
Method2(void, setTextureSize, IN, int, width, IN, int, height);
Method2(void, getTextureSize, IN, int &, width, IN, int &, height);
Method1(void, setSubloadCallback, IN, osg::TextureCubeMap::SubloadCallback *, cb);
Method0(osg::TextureCubeMap::SubloadCallback *, getSubloadCallback);
Method0(const osg::TextureCubeMap::SubloadCallback *, getSubloadCallback);
Method1(void, setNumMipmapLevels, IN, unsigned int, num);
Method0(unsigned int, getNumMipmapLevels);
Method1(void, apply, IN, osg::State &, state);
ArrayProperty_G(osg::Image *, Image, Images, unsigned int, void);
WriteOnlyProperty(unsigned int, NumMipmapLevels);
Property(osg::TextureCubeMap::SubloadCallback *, SubloadCallback);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setCubeMapSupported, IN, bool, flag);
Method0(bool, isCubeMapSupported);
WriteOnlyProperty(bool, CubeMapSupported);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
BaseType(osg::Referenced);
Constructor0();
Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state);
Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state);
END_REFLECTOR