14 #ifndef OSG_BLENDCOLOR
15 #define OSG_BLENDCOLOR 1
18 #include <osg/StateAttribute>
19 #include <osg/ref_ptr>
37 _constantColor(trans._constantColor) {}
66 virtual void apply(
State& state)
const;
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
virtual int compare(const StateAttribute &sa) const
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const
osg::Vec4 & getConstantColor()
const osg::Vec4 & getConstantColor() const
virtual void usesMode(GLMode mode)=0
void setConstantColor(const osg::Vec4 &color)
BlendColor(const BlendColor &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY)
#define META_StateAttribute(library, name, type)
#define COMPARE_StateAttribute_Parameter(parameter)