root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osg/BlendEquation.cpp @ 13041

Revision 13041, 1.2 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osg/BlendEquation>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( BlendEquation,
7                         new osg::BlendEquation,
8                         osg::BlendEquation,
9                         "osg::Object osg::StateAttribute osg::BlendEquation" )
10{
11    BEGIN_ENUM_SERIALIZER2( EquationRGB, osg::BlendEquation::Equation, FUNC_ADD );
12        ADD_ENUM_VALUE( RGBA_MIN );
13        ADD_ENUM_VALUE( RGBA_MAX );
14        ADD_ENUM_VALUE( ALPHA_MIN );
15        ADD_ENUM_VALUE( ALPHA_MAX );
16        ADD_ENUM_VALUE( LOGIC_OP );
17        ADD_ENUM_VALUE( FUNC_ADD );
18        ADD_ENUM_VALUE( FUNC_SUBTRACT );
19        ADD_ENUM_VALUE( FUNC_REVERSE_SUBTRACT );
20    END_ENUM_SERIALIZER();  // _equationRGB
21
22    BEGIN_ENUM_SERIALIZER2( EquationAlpha, osg::BlendEquation::Equation, FUNC_ADD );
23        ADD_ENUM_VALUE( RGBA_MIN );
24        ADD_ENUM_VALUE( RGBA_MAX );
25        ADD_ENUM_VALUE( ALPHA_MIN );
26        ADD_ENUM_VALUE( ALPHA_MAX );
27        ADD_ENUM_VALUE( LOGIC_OP );
28        ADD_ENUM_VALUE( FUNC_ADD );
29        ADD_ENUM_VALUE( FUNC_SUBTRACT );
30        ADD_ENUM_VALUE( FUNC_REVERSE_SUBTRACT );
31    END_ENUM_SERIALIZER();  // _equationAlpha
32}
Note: See TracBrowser for help on using the browser.