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

@@ -21,6 +21,7 @@
#include "BlendColor.h"
#include "Stencil.h"
#include "BlendFunc.h"
#include "BlendEquation.h"
#include "Depth.h"
#include "Material.h"
#include "CullFace.h"
@@ -1097,6 +1098,10 @@ osg::StateAttribute* DataInputStream::readStateAttribute()
attribute = new osg::BlendFunc();
((ive::BlendFunc*)(attribute))->read(this);
}
else if(attributeID == IVEBLENDEQUATION){
attribute = new osg::BlendEquation();
((ive::BlendEquation*)(attribute))->read(this);
}
else if(attributeID == IVEDEPTH){
attribute = new osg::Depth();
((ive::Depth*)(attribute))->read(this);