add BufferData associate to Image and subclasses

This commit is contained in:
Julien Valentin
2018-01-04 05:16:21 +01:00
parent 196256fdcd
commit e33a407aaf
3 changed files with 16 additions and 3 deletions

View File

@@ -72,8 +72,12 @@ static bool writeImages( osgDB::OutputStream& os, const osg::ImageSequence& imag
REGISTER_OBJECT_WRAPPER( ImageSequence,
new osg::ImageSequence,
osg::ImageSequence,
"osg::Object osg::Image osg::ImageStream osg::ImageSequence" )
"osg::Object osg::BufferData osg::Image osg::ImageStream osg::ImageSequence" )
{
{
UPDATE_TO_VERSION_SCOPED( 154 )
ADDED_ASSOCIATE("osg::BufferData")
}
ADD_DOUBLE_SERIALIZER( ReferenceTime, DBL_MAX ); // _referenceTime
ADD_DOUBLE_SERIALIZER( TimeMultiplier, 1.0 ); // _timeMultiplier