Property API clean to smooth the task of generating wrappers.

This commit is contained in:
Robert Osfield
2004-12-17 01:06:33 +00:00
parent 4383655fcd
commit a0ba625cb0
39 changed files with 253 additions and 229 deletions

View File

@@ -70,12 +70,16 @@ class SG_EXPORT ColorMask : public StateAttribute
}
inline void getRedMask(bool mask) { _red=mask; }
inline bool getRedMask() const { return _red; }
inline void setGreenMask(bool mask) { _green=mask; }
inline bool getGreenMask() const { return _green; }
inline void setBlueMask(bool mask) { _blue=mask; }
inline bool getBlueMask() const { return _blue; }
inline void setAlphaMask(bool mask) { _alpha=mask; }
inline bool getAlphaMask() const { return _alpha; }
virtual void apply(State& state) const;