Updated wrappers.

This commit is contained in:
Robert Osfield 2005-04-26 14:29:25 +00:00
parent a1bda0dab8
commit 63c81a3539
12 changed files with 36 additions and 24 deletions

View File

@ -37,15 +37,16 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BlendColor::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::BlendColor::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::BlendColor::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setBlendColorSupported, IN, bool, flag);
Method0(bool, isBlendColorSupported);
Method1(void, setBlendColorProc, IN, void *, ptr);
Method4(void, glBlendColor, IN, GLclampf, red, IN, GLclampf, green, IN, GLclampf, blue, IN, GLclampf, alpha);
WriteOnlyProperty(void *, BlendColorProc);
WriteOnlyProperty(bool, BlendColorSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR

View File

@ -48,15 +48,16 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BlendEquation::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::BlendEquation::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::BlendEquation::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setBlendEquationSupported, IN, bool, flag);
Method0(bool, isBlendEquationSupported);
Method1(void, setBlendEquationProc, IN, void *, ptr);
Method1(void, glBlendEquation, IN, GLenum, mode);
WriteOnlyProperty(void *, BlendEquationProc);
WriteOnlyProperty(bool, BlendEquationSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR

View File

@ -39,10 +39,10 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::BufferObject::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::BufferObject::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs);
Method0(void, setupGLExtenions);
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);
@ -55,6 +55,7 @@ BEGIN_VALUE_REFLECTOR(osg::BufferObject::Extensions)
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);
END_REFLECTOR
TYPE_NAME_ALIAS(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >, osg::PixelBufferObject::BufferEntryImagePair);

View File

@ -187,10 +187,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::Drawable::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Drawable::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setVertexProgramSupported, IN, bool, flag);
Method0(bool, isVertexProgramSupported);
Method1(void, setSecondaryColorSupported, IN, bool, flag);
@ -248,6 +248,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
WriteOnlyProperty(bool, OcclusionQuerySupported);
WriteOnlyProperty(bool, SecondaryColorSupported);
WriteOnlyProperty(bool, VertexProgramSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Drawable::UpdateCallback)

View File

@ -57,10 +57,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setFragmentProgramSupported, IN, bool, flag);
Method0(bool, isFragmentProgramSupported);
Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id);
@ -69,6 +69,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string);
Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params);
WriteOnlyProperty(bool, FragmentProgramSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >);

View File

@ -48,10 +48,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::Multisample::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Multisample::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setMultisampleSupported, IN, bool, flag);
Method1(void, setMultisampleFilterHintSupported, IN, bool, flag);
Method0(bool, isMultisampleSupported);
@ -61,5 +61,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions)
WriteOnlyProperty(bool, MultisampleFilterHintSupported);
WriteOnlyProperty(bool, MultisampleSupported);
WriteOnlyProperty(void *, SampleCoverageProc);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR

View File

@ -49,14 +49,15 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::Point::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setPointParametersSupported, IN, bool, flag);
Method0(bool, isPointParametersSupported);
Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param);
Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params);
WriteOnlyProperty(bool, PointParametersSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR

View File

@ -19,10 +19,10 @@
BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::GL2Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::GL2Extensions &, rhs);
Method0(void, setupGL2Extensions);
Method1(void, setupGL2Extensions, IN, unsigned int, contextID);
Method0(bool, isGlslSupported);
Method0(float, getGlVersion);
Method0(float, getLanguageVersion);
@ -138,6 +138,7 @@ BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions)
ReadOnlyProperty(float, LanguageVersion);
WriteOnlyProperty(bool, ShaderObjectsSupported);
WriteOnlyProperty(bool, VertexShaderSupported);
WriteOnlyProperty(unsigned int, upGL2Extensions);
END_REFLECTOR
TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindingList);

View File

@ -143,10 +143,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::Texture::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Texture::Extensions &, rhs);
Method0(void, setupGLExtensions);
Method1(void, setupGLExtensions, IN, unsigned int, contextID);
Method1(void, setMultiTexturingSupported, IN, bool, flag);
Method0(bool, isMultiTexturingSupported);
Method1(void, setTextureFilterAnisotropicSupported, IN, bool, flag);
@ -194,6 +194,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions)
WriteOnlyProperty(bool, TextureEdgeClampSupported);
WriteOnlyProperty(bool, TextureFilterAnisotropicSupported);
WriteOnlyProperty(bool, TextureMirroredRepeatSupported);
WriteOnlyProperty(unsigned int, upGLExtensions);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Texture::TextureObject)

View File

@ -53,10 +53,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::Texture3D::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setTexture3DSupported, IN, bool, flag);
Method0(bool, isTexture3DSupported);
Method1(void, setTexture3DFast, IN, bool, flag);
@ -86,6 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
WriteOnlyProperty(void *, TexSubImage3DProc);
WriteOnlyProperty(bool, Texture3DFast);
WriteOnlyProperty(bool, Texture3DSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)

View File

@ -58,13 +58,14 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setCubeMapSupported, IN, bool, flag);
Method0(bool, isCubeMapSupported);
WriteOnlyProperty(bool, CubeMapSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)

View File

@ -57,10 +57,10 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, unsigned int, contextID);
Constructor1(IN, const osg::VertexProgram::Extensions &, rhs);
Method1(void, lowestCommonDenominator, IN, const osg::VertexProgram::Extensions &, rhs);
Method0(void, setupGLExtenions);
Method1(void, setupGLExtenions, IN, unsigned int, contextID);
Method1(void, setVertexProgramSupported, IN, bool, flag);
Method0(bool, isVertexProgramSupported);
Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id);
@ -69,5 +69,6 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string);
Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params);
WriteOnlyProperty(bool, VertexProgramSupported);
WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR