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,97 @@
// ***************************************************************************
//
// 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/Texture3D>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D)
BaseType(osg::Texture);
Constructor0();
ConstructorWithDefaults2(IN, const osg::Texture3D &, text, , 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);
Method1(void, setImage, IN, osg::Image *, image);
Method0(osg::Image *, getImage);
Method0(const osg::Image *, getImage);
Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID);
Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image);
Method1(osg::Image *, getImage, IN, unsigned, int);
Method1(const osg::Image *, getImage, IN, unsigned, int);
Method0(unsigned int, getNumImages);
Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth);
Method3(void, getTextureSize, IN, int &, width, IN, int &, height, IN, int &, depth);
Method1(void, setSubloadCallback, IN, osg::Texture3D::SubloadCallback *, cb);
Method0(osg::Texture3D::SubloadCallback *, getSubloadCallback);
Method0(const osg::Texture3D::SubloadCallback *, getSubloadCallback);
Method1(void, setNumMipmapLevels, IN, unsigned int, num);
Method0(unsigned int, getNumMipmapLevels);
Method8(void, copyTexSubImage3D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height);
Method1(void, apply, IN, osg::State &, state);
Property(osg::Image *, Image);
WriteOnlyProperty(unsigned int, NumMipmapLevels);
Property(osg::Texture3D::SubloadCallback *, SubloadCallback);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, const osg::Texture3D::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setTexture3DSupported, IN, bool, flag);
Method0(bool, isTexture3DSupported);
Method1(void, setTexture3DFast, IN, bool, flag);
Method0(bool, isTexture3DFast);
Method1(void, setMaxTexture3DSize, IN, GLint, maxsize);
Method0(GLint, maxTexture3DSize);
Method1(void, setTexImage3DProc, IN, void *, ptr);
Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels);
Method1(void, setTexSubImage3DProc, IN, void *, ptr);
Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels);
Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr);
Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height);
Method0(bool, isCompressedTexImage3DSupported);
Method1(void, setCompressedTexImage3DProc, IN, void *, ptr);
Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data);
Method0(bool, isCompressedTexSubImage3DSupported);
Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr);
Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data);
Method1(void, setBuild3DMipmapsProc, IN, void *, ptr);
Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data);
WriteOnlyProperty(void *, Build3DMipmapsProc);
WriteOnlyProperty(void *, CompressedTexImage3DProc);
WriteOnlyProperty(void *, CompressedTexSubImage3DProc);
WriteOnlyProperty(void *, CopyTexSubImage3DProc);
WriteOnlyProperty(GLint, MaxTexture3DSize);
WriteOnlyProperty(void *, TexImage3DProc);
WriteOnlyProperty(void *, TexSubImage3DProc);
WriteOnlyProperty(bool, Texture3DFast);
WriteOnlyProperty(bool, Texture3DSupported);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
BaseType(osg::Referenced);
Constructor0();
Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state);
Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state);
END_REFLECTOR