Updated wrappers

This commit is contained in:
Robert Osfield 2009-12-09 14:34:24 +00:00
parent 5f61d14dc6
commit f099dab160
3 changed files with 9 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,