From ecee62e1c143a2f68a94f6f413e65c9b06074767 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 25 Aug 2006 09:03:26 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osg/BufferObject.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgWrappers/osg/BufferObject.cpp b/src/osgWrappers/osg/BufferObject.cpp index 2a57d51e2..c40765f22 100644 --- a/src/osgWrappers/osg/BufferObject.cpp +++ b/src/osgWrappers/osg/BufferObject.cpp @@ -31,6 +31,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject) I_Method0(const char *, libraryName); I_Method0(const char *, className); I_Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID); + I_Method1(bool, isPBOSupported, IN, unsigned int, contextID); I_Method1(GLuint &, buffer, IN, unsigned int, contextID); I_Method1(void, bindBuffer, IN, unsigned int, contextID); I_Method1(void, unbindBuffer, IN, unsigned int, contextID); @@ -52,6 +53,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions) I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs); I_Method1(void, setupGLExtenions, IN, unsigned int, contextID); I_Method0(bool, isBufferObjectSupported); + I_Method0(bool, isPBOSupported); I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers); I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer); I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage);