|
Revision 10976, 0.6 kB
(checked in by robert, 3 years ago)
|
|
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
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #include <osg/BlendFunc> |
|---|
| 2 | #include <osgDB/ObjectWrapper> |
|---|
| 3 | #include <osgDB/InputStream> |
|---|
| 4 | #include <osgDB/OutputStream> |
|---|
| 5 | |
|---|
| 6 | REGISTER_OBJECT_WRAPPER( BlendFunc, |
|---|
| 7 | new osg::BlendFunc, |
|---|
| 8 | osg::BlendFunc, |
|---|
| 9 | "osg::Object osg::StateAttribute osg::BlendFunc" ) |
|---|
| 10 | { |
|---|
| 11 | ADD_GLENUM_SERIALIZER( SourceRGB, GLenum, GL_ONE ); |
|---|
| 12 | ADD_GLENUM_SERIALIZER( SourceAlpha, GLenum, GL_ONE ); |
|---|
| 13 | ADD_GLENUM_SERIALIZER( DestinationRGB, GLenum, GL_ONE ); |
|---|
| 14 | ADD_GLENUM_SERIALIZER( DestinationAlpha, GLenum, GL_ONE ); |
|---|
| 15 | } |
|---|