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

Revision 13041, 0.6 kB (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osg/TexGenNode>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( TexGenNode,
7                         new osg::TexGenNode,
8                         osg::TexGenNode,
9                         "osg::Object osg::Node osg::Group osg::TexGenNode" )
10{
11    ADD_UINT_SERIALIZER( TextureUnit, 0 );  // _textureUnit
12    ADD_OBJECT_SERIALIZER( TexGen, osg::TexGen, NULL );  // _texgen
13
14    BEGIN_ENUM_SERIALIZER( ReferenceFrame, RELATIVE_RF );
15        ADD_ENUM_VALUE( RELATIVE_RF );
16        ADD_ENUM_VALUE( ABSOLUTE_RF );
17    END_ENUM_SERIALIZER();  // _referenceFrame
18}
Note: See TracBrowser for help on using the browser.