diff --git a/src/osgWrappers/serializers/osg/TextureBuffer.cpp b/src/osgWrappers/serializers/osg/TextureBuffer.cpp new file mode 100644 index 000000000..a2eef396b --- /dev/null +++ b/src/osgWrappers/serializers/osg/TextureBuffer.cpp @@ -0,0 +1,13 @@ +#include +#include +#include +#include + +REGISTER_OBJECT_WRAPPER( TextureBuffer, + new osg::TextureBuffer, + osg::TextureBuffer, + "osg::Object osg::StateAttribute osg::Texture osg::TextureBuffer" ) +{ + ADD_INT_SERIALIZER( TextureWidth, 0 ); // _textureWidth + ADD_OBJECT_SERIALIZER( BufferData, osg::BufferData, NULL ); // _bufferData +}