18 #include <osg/StateAttribute>
21 #ifndef OSG_GL_FIXED_FUNCTION_AVAILABLE
22 #define GL_MODULATE 0x2100
24 #define GL_MODULATE 0x2100
25 #define GL_DECAL 0x2101
44 TexEnv(Mode mode=MODULATE);
50 _color(texenv._color) {}
83 virtual void apply(
State& state)
const;
virtual int compare(const StateAttribute &sa) const
virtual bool isTextureAttribute() const
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
void setColor(const Vec4 &color)
TexEnv(const TexEnv &texenv, const CopyOp ©op=CopyOp::SHALLOW_COPY)
#define META_StateAttribute(library, name, type)
const Vec4 & getColor() const
#define COMPARE_StateAttribute_Parameter(parameter)