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

@@ -81,10 +81,14 @@ class SG_EXPORT Multisample : public StateAttribute
_coverage = coverage;
_invert = invert;
}
inline void setCoverage(float coverage) { _coverage=coverage; }
inline float getCoverage() const { return _coverage; }
inline void setInvert(bool invert) { _invert=invert; }
inline bool getInvert() const { return _invert; }
inline void setHint(Mode mode) { _mode = mode; }
inline Mode getHint() const { return _mode; }
virtual void apply(State& state) const;