|
Revision 13041, 0.8 kB
(checked in by robert, 14 months 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 | |
|---|
| 6 | REGISTER_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(); |
|---|
| 16 | |
|---|
| 17 | ADD_BOOL_SERIALIZER( DynamicShadowVolumes, false ); |
|---|
| 18 | } |
|---|