18 lines
586 B
C++
18 lines
586 B
C++
#include <osg/ImageStream>
|
|
#include <osgDB/ObjectWrapper>
|
|
#include <osgDB/InputStream>
|
|
#include <osgDB/OutputStream>
|
|
|
|
REGISTER_OBJECT_WRAPPER( ImageStream,
|
|
new osg::ImageStream,
|
|
osg::ImageStream,
|
|
"osg::Object osg::Image osg::ImageStream" )
|
|
{
|
|
BEGIN_ENUM_SERIALIZER( LoopingMode, NO_LOOPING );
|
|
ADD_ENUM_VALUE( NO_LOOPING );
|
|
ADD_ENUM_VALUE( LOOPING );
|
|
END_ENUM_SERIALIZER(); // _loopingMode
|
|
|
|
ADD_LIST_SERIALIZER( AudioStreams, osg::ImageStream::AudioStreams ); // _audioStreams
|
|
}
|