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

@@ -73,8 +73,7 @@ class SG_EXPORT Depth : public StateAttribute
return true;
}
inline void setFunction(Function func) { _func = func; }
inline void setFunction(Function func) { _func = func; }
inline Function getFunction() const { return _func; }
@@ -84,11 +83,13 @@ class SG_EXPORT Depth : public StateAttribute
_zFar = zFar;
}
inline void setZNear(double zNear) { _zNear=zNear; }
inline double getZNear() const { return _zNear; }
inline void setZFar(double zFar) { _zFar=zFar; }
inline double getZFar() const { return _zFar; }
inline void setWriteMask(bool mask) { _depthWriteMask = mask; }
inline void setWriteMask(bool mask) { _depthWriteMask = mask; }
inline bool getWriteMask() const { return _depthWriteMask; }