Updated wrappers

This commit is contained in:
Robert Osfield
2005-05-03 10:09:51 +00:00
parent a0ccaf5f95
commit 003329fd10
4 changed files with 7 additions and 5 deletions

View File

@@ -86,9 +86,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
Method1(void, setUpdateCallback, IN, osg::Drawable::UpdateCallback *, ac);
Method0(osg::Drawable::UpdateCallback *, getUpdateCallback);
Method0(const osg::Drawable::UpdateCallback *, getUpdateCallback);
Method0(bool, requiresUpdateTraversal);
Method1(void, setEventCallback, IN, osg::Drawable::EventCallback *, ac);
Method0(osg::Drawable::EventCallback *, getEventCallback);
Method0(const osg::Drawable::EventCallback *, getEventCallback);
Method0(bool, requiresEventTraversal);
Method1(void, setCullCallback, IN, osg::Drawable::CullCallback *, cc);
Method0(osg::Drawable::CullCallback *, getCullCallback);
Method0(const osg::Drawable::CullCallback *, getCullCallback);

View File

@@ -16,7 +16,6 @@
#include <osg/FrameStamp>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Impostor>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/MatrixTransform>
@@ -26,6 +25,7 @@
#include <osg/PagedLOD>
#include <osg/PositionAttitudeTransform>
#include <osg/Projection>
#include <osg/ProxyNode>
#include <osg/Referenced>
#include <osg/Sequence>
#include <osg/Switch>
@@ -85,6 +85,7 @@ BEGIN_VALUE_REFLECTOR(osg::NodeVisitor)
Method1(void, apply, IN, osg::Geode &, node);
Method1(void, apply, IN, osg::Billboard &, node);
Method1(void, apply, IN, osg::Group &, node);
Method1(void, apply, IN, osg::ProxyNode &, node);
Method1(void, apply, IN, osg::Projection &, node);
Method1(void, apply, IN, osg::CoordinateSystemNode &, node);
Method1(void, apply, IN, osg::ClipNode &, node);
@@ -97,7 +98,6 @@ BEGIN_VALUE_REFLECTOR(osg::NodeVisitor)
Method1(void, apply, IN, osg::Sequence &, node);
Method1(void, apply, IN, osg::LOD &, node);
Method1(void, apply, IN, osg::PagedLOD &, node);
Method1(void, apply, IN, osg::Impostor &, node);
Method1(void, apply, IN, osg::ClearNode &, node);
Method1(void, apply, IN, osg::OccluderNode &, node);
Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler);

View File

@@ -166,7 +166,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
Method2(void, bindAttribLocation, IN, GLuint, index, IN, const char *, name);
Method0(const osg::Program::AttribBindingList &, getAttribBindingList);
Method0(bool, isFixedFunction);
Method2(void, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
Method1(void, setName, IN, const std::string &, name);
Method1(void, setName, IN, const char *, name);
Method0(const std::string &, getName);
@@ -185,7 +185,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram)
Method0(void, linkProgram);
Method0(bool, needsLink);
Method0(bool, isLinked);
Method1(void, getInfoLog, IN, std::string &, infoLog);
Method1(bool, getInfoLog, IN, std::string &, infoLog);
Method0(void, useProgram);
Method1(void, apply, IN, const osg::Uniform &, uniform);
Method1(GLint, getUniformLocation, IN, const std::string &, name);

View File

@@ -39,7 +39,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
Method0(void, dirtyShader);
Method1(void, compileShader, IN, unsigned int, contextID);
Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program);
Method2(void, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
Method1(void, setName, IN, const std::string &, name);
Method1(void, setName, IN, const char *, name);
Method0(const std::string &, getName);