Property API clean to smooth the task of generating wrappers.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user