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,67 +15,75 @@
#include <osg/Object>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID);
Method1(GLuint &, buffer, IN, unsigned int, contextID);
Method1(void, bindBuffer, IN, unsigned int, contextID);
Method1(void, unbindBuffer, IN, unsigned int, contextID);
Method1(bool, needsCompile, IN, unsigned int, contextID);
Method1(void, compileBuffer, IN, osg::State &, state);
Method1(void, releaseBuffer, IN, osg::State *, state);
Method3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, x, IN, double &, availableTime);
I_BaseType(osg::Object);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID);
I_Method1(GLuint &, buffer, IN, unsigned int, contextID);
I_Method1(void, bindBuffer, IN, unsigned int, contextID);
I_Method1(void, unbindBuffer, IN, unsigned int, contextID);
I_Method1(bool, needsCompile, IN, unsigned int, contextID);
I_Method1(void, compileBuffer, IN, osg::State &, state);
I_Method1(void, releaseBuffer, IN, osg::State *, state);
I_Method3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, x, IN, double &, availableTime);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::BufferObject::BufferEntry)
Constructor0();
Constructor1(IN, const osg::BufferObject::BufferEntry &, be);
I_Constructor0();
I_Constructor1(IN, const osg::BufferObject::BufferEntry &, be);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::BufferObject::Extensions)
BaseType(osg::Referenced);
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::BufferObject::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method0(bool, isBufferObjectSupported);
Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers);
Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer);
Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage);
Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data);
Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers);
Method1(GLboolean, glIsBuffer, IN, GLuint, buffer);
Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data);
Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access);
Method1(GLboolean, glUnmapBuffer, IN, GLenum, target);
Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params);
Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params);
WriteOnlyProperty(unsigned int, upGLExtenions);
BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
I_BaseType(osg::Referenced);
I_Constructor1(IN, unsigned int, contextID);
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs);
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs);
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
I_Method0(bool, isBufferObjectSupported);
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers);
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer);
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage);
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data);
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers);
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer);
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data);
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access);
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target);
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params);
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params);
I_WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
TYPE_NAME_ALIAS(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >, osg::PixelBufferObject::BufferEntryImagePair);
BEGIN_OBJECT_REFLECTOR(osg::PixelBufferObject)
BaseType(osg::BufferObject);
ConstructorWithDefaults1(IN, osg::Image *, image, 0);
ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , 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);
Method1(void, setImage, IN, osg::Image *, image);
Method0(osg::Image *, getImage);
Method0(const osg::Image *, getImage);
Method0(unsigned int, offset);
Method1(bool, needsCompile, IN, unsigned int, contextID);
Method1(void, compileBuffer, IN, osg::State &, state);
Property(osg::Image *, Image);
I_BaseType(osg::BufferObject);
I_ConstructorWithDefaults1(IN, osg::Image *, image, 0);
I_ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , 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_Method1(void, setImage, IN, osg::Image *, image);
I_Method0(osg::Image *, getImage);
I_Method0(const osg::Image *, getImage);
I_Method0(unsigned int, offset);
I_Method1(bool, needsCompile, IN, unsigned int, contextID);
I_Method1(void, compileBuffer, IN, osg::State &, state);
I_Property(osg::Image *, Image);
END_REFLECTOR
STD_PAIR_REFLECTOR(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >);