root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osg/Multisample.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/Multisample>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( Multisample,
7                         new osg::Multisample,
8                         osg::Multisample,
9                         "osg::Object osg::StateAttribute osg::Multisample" )
10{
11    ADD_FLOAT_SERIALIZER( Coverage, 0.0f );  // _coverage
12    ADD_BOOL_SERIALIZER( Invert, false );  // _invert
13
14    BEGIN_ENUM_SERIALIZER2( Hint, osg::Multisample::Mode, DONT_CARE );
15        ADD_ENUM_VALUE( FASTEST );
16        ADD_ENUM_VALUE( NICEST );
17        ADD_ENUM_VALUE( DONT_CARE );
18    END_ENUM_SERIALIZER();  // _mode
19}
Note: See TracBrowser for help on using the browser.