From Wang Rui, new native binary/ascii format infrastructure and wrappers.
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
This commit is contained in:
13
src/osgWrappers/serializers/osg/StateAttribute.cpp
Executable file
13
src/osgWrappers/serializers/osg/StateAttribute.cpp
Executable file
@@ -0,0 +1,13 @@
|
||||
#include <osg/StateAttribute>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( StateAttribute,
|
||||
/*new osg::StateAttribute*/NULL,
|
||||
osg::StateAttribute,
|
||||
"osg::Object osg::StateAttribute" )
|
||||
{
|
||||
ADD_OBJECT_SERIALIZER( UpdateCallback, osg::StateAttributeCallback, NULL ); // _updateCallback
|
||||
ADD_OBJECT_SERIALIZER( EventCallback, osg::StateAttributeCallback, NULL ); // _eventCallback
|
||||
}
|
||||
Reference in New Issue
Block a user