From Robert Osfield, refactor of Wang Rui's original osg2 into 3 parts - parts placed into osgDB, the ReaderWriter placed into src/osg/Plugin/osg and wrappers into src/osgWrappers/serializers/osg
16 lines
510 B
C++
Executable File
16 lines
510 B
C++
Executable File
#include <osg/PointSprite>
|
|
#include <osgDB/ObjectWrapper>
|
|
#include <osgDB/InputStream>
|
|
#include <osgDB/OutputStream>
|
|
|
|
REGISTER_OBJECT_WRAPPER( PointSprite,
|
|
new osg::PointSprite,
|
|
osg::PointSprite,
|
|
"osg::Object osg::StateAttribute osg::PointSprite" )
|
|
{
|
|
BEGIN_ENUM_SERIALIZER( CoordOriginMode, UPPER_LEFT );
|
|
ADD_ENUM_VALUE( UPPER_LEFT );
|
|
ADD_ENUM_VALUE( LOWER_LEFT );
|
|
END_ENUM_SERIALIZER(); // _coordOriginMode
|
|
}
|