Added .ive support for BlendEquation

This commit is contained in:
Robert Osfield
2008-08-18 15:06:41 +00:00
parent 4adb68c802
commit 8303f03b24
6 changed files with 87 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#include "BlendColor.h"
#include "Stencil.h"
#include "BlendFunc.h"
#include "BlendEquation.h"
#include "Material.h"
#include "CullFace.h"
#include "ColorMask.h"
@@ -723,6 +724,9 @@ void DataOutputStream::writeStateAttribute(const osg::StateAttribute* attribute)
else if(dynamic_cast<const osg::BlendFunc*>(attribute)){
((ive::BlendFunc*)(attribute))->write(this);
}
else if(dynamic_cast<const osg::BlendEquation*>(attribute)){
((ive::BlendEquation*)(attribute))->write(this);
}
else if(dynamic_cast<const osg::Depth*>(attribute)){
((ive::Depth*)(attribute))->write(this);
}