From Wang Rui, serializers for osgSim and osgVolume
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include <osgVolume/Property>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( osgVolume_TransferFunctionProperty,
|
||||
new osgVolume::TransferFunctionProperty,
|
||||
osgVolume::TransferFunctionProperty,
|
||||
"osg::Object osgVolume::Property osgVolume::TransferFunctionProperty" )
|
||||
{
|
||||
ADD_OBJECT_SERIALIZER( TransferFunction, osg::TransferFunction, NULL ); // _tf
|
||||
}
|
||||
Reference in New Issue
Block a user