Changed GeometryTechnique::private to protected, updated wrappers

This commit is contained in:
Robert Osfield 2010-01-29 17:20:58 +00:00
parent ff5d1fc195
commit 874296cbb3
2 changed files with 19 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class OSGTERRAIN_EXPORT GeometryTechnique : public TerrainTechnique
virtual void releaseGLObjects(osg::State* = 0) const; virtual void releaseGLObjects(osg::State* = 0) const;
private: protected:
virtual ~GeometryTechnique(); virtual ~GeometryTechnique();

View File

@ -171,6 +171,24 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique)
__void__releaseGLObjects__osg_State_P1, __void__releaseGLObjects__osg_State_P1,
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
"Otherwise, releases OpenGL objects for all graphics contexts. "); "Otherwise, releases OpenGL objects for all graphics contexts. ");
I_ProtectedMethod0(void, swapBuffers,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__swapBuffers,
"",
"");
I_ProtectedMethod0(osg::BufferData &, getReadOnlyBuffer,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__BufferData_R1__getReadOnlyBuffer,
"",
"");
I_ProtectedMethod0(osg::BufferData &, getWriteBuffer,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__BufferData_R1__getWriteBuffer,
"",
"");
I_SimpleProperty(float, FilterBias, I_SimpleProperty(float, FilterBias,
__float__getFilterBias, __float__getFilterBias,
__void__setFilterBias__float); __void__setFilterBias__float);