root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp @ 13041

Revision 13041, 0.8 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 <osgShadow/ShadowVolume>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgShadow_ShadowVolume,
7                         new osgShadow::ShadowVolume,
8                         osgShadow::ShadowVolume,
9                         "osg::Object osgShadow::ShadowTechnique osgShadow::ShadowVolume" )
10{
11    BEGIN_ENUM_SERIALIZER4( osgShadow::ShadowVolumeGeometry, DrawMode, STENCIL_TWO_SIDED );
12        ADD_ENUM_CLASS_VALUE( osgShadow::ShadowVolumeGeometry, GEOMETRY );
13        ADD_ENUM_CLASS_VALUE( osgShadow::ShadowVolumeGeometry, STENCIL_TWO_PASS );
14        ADD_ENUM_CLASS_VALUE( osgShadow::ShadowVolumeGeometry, STENCIL_TWO_SIDED );
15    END_ENUM_SERIALIZER();  // _drawMode
16
17    ADD_BOOL_SERIALIZER( DynamicShadowVolumes, false );  // _dynamicShadowVolumes
18}
Note: See TracBrowser for help on using the browser.