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

Revision 13041, 0.6 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/TexEnv>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( TexEnv,
7                         new osg::TexEnv,
8                         osg::TexEnv,
9                         "osg::Object osg::StateAttribute osg::TexEnv" )
10{
11    BEGIN_ENUM_SERIALIZER( Mode, MODULATE );
12        ADD_ENUM_VALUE( DECAL );
13        ADD_ENUM_VALUE( MODULATE );
14        ADD_ENUM_VALUE( BLEND );
15        ADD_ENUM_VALUE( REPLACE );
16        ADD_ENUM_VALUE( ADD );
17    END_ENUM_SERIALIZER();  // _mode
18
19    ADD_VEC4_SERIALIZER( Color, osg::Vec4() );  // _color
20}
Note: See TracBrowser for help on using the browser.