diff --git a/src/osgWrappers/osg/Drawable.cpp b/src/osgWrappers/osg/Drawable.cpp index e858b5e9f..739bade15 100644 --- a/src/osgWrappers/osg/Drawable.cpp +++ b/src/osgWrappers/osg/Drawable.cpp @@ -261,8 +261,8 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable) I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo, Properties::VIRTUAL, __void__compileGLObjects__RenderInfo_R1, - "Immediately compile this Drawable into an OpenGL Display List. ", - "Operation is ignored if _useDisplayList is false. "); + "Immediately compile this Drawable into an OpenGL Display List/VertexBufferObjects. ", + "Operation is ignored if _useDisplayList is false or VertexBufferObjects are not used. "); I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, Properties::VIRTUAL, __void__setThreadSafeRefUnref__bool, diff --git a/src/osgWrappers/osg/Geometry.cpp b/src/osgWrappers/osg/Geometry.cpp index 45552d2f2..f7d4b1252 100644 --- a/src/osgWrappers/osg/Geometry.cpp +++ b/src/osgWrappers/osg/Geometry.cpp @@ -675,6 +675,11 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry) __unsigned_int__getGLObjectSizeHint, "Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ", "This size is used a hint for reuse of deleted display lists/vertex buffer objects. "); + I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo, + Properties::VIRTUAL, + __void__compileGLObjects__RenderInfo_R1, + "Immediately compile this Drawable into an OpenGL Display List/VertexBufferObjects. ", + "Operation is ignored if _useDisplayList is false or VertexBufferObjects are not used. "); I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, Properties::VIRTUAL, __void__drawImplementation__RenderInfo_R1, diff --git a/src/osgWrappers/osg/Image.cpp b/src/osgWrappers/osg/Image.cpp index 67d033925..a17a918ff 100644 --- a/src/osgWrappers/osg/Image.cpp +++ b/src/osgWrappers/osg/Image.cpp @@ -154,12 +154,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Image) Properties::NON_VIRTUAL, __void__scaleImage__int__int__int, "Scale image to specified size. ", - ""); + "The method uses gluScaleImage() and thus needs a valid rendering context. "); I_Method4(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, IN, GLenum, newDataType, Properties::VIRTUAL, __void__scaleImage__int__int__int__GLenum, "Scale image to specified size and with specified data type. ", - ""); + "The method uses gluScaleImage() and thus needs a valid rendering context. "); I_Method4(void, copySubImage, IN, int, s_offset, IN, int, t_offset, IN, int, r_offset, IN, const osg::Image *, source, Properties::VIRTUAL, __void__copySubImage__int__int__int__C5_osg_Image_P1,