14 #ifndef OSG_COLORMASKI
15 #define OSG_COLORMASKI 1
17 #include <osg/ColorMask>
29 ColorMaski(
unsigned int buf,
bool red,
bool green,
bool blue,
bool alpha):
53 virtual unsigned int getMember()
const {
return _index; }
56 void setIndex(
unsigned int buf) { _index = buf; }
59 unsigned int getIndex()
const {
return _index; }
61 virtual void apply(
State& state)
const;
ColorMaski(unsigned int buf, bool red, bool green, bool blue, bool alpha)
virtual int compare(const StateAttribute &sa) const
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
ColorMaski(const ColorMaski &cm, const CopyOp ©op=CopyOp::SHALLOW_COPY)
unsigned int getIndex() const
virtual unsigned int getMember() const
#define META_StateAttribute(library, name, type)
virtual int compare(const StateAttribute &sa) const
#define COMPARE_StateAttribute_Parameter(parameter)
void setIndex(unsigned int buf)