diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-02-29 16:21:02 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-11 19:15:23 +0000 |
commit | 7267c5c8dd2b6a0c3a63dc10c91c661a5f1f8586 (patch) | |
tree | 7a8f912dda41cd52f555021e9c12a1a2f1a86bbe /src/render/renderstates/qstencilopseparate.h | |
parent | c4d7ad6b1e4672a98384724f5aa45338686f2e64 (diff) |
QStencilOpSeparate property renaming
stencilFail -> stencilTestFailureOperation
depthFail -> depthTestFailureOperation
stencilDepthPass -> allTestsPassOperation
Change-Id: I30fc64fec81c873cacfdb3edeef834674140d9ce
Task-number: QTBUG-51438
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/renderstates/qstencilopseparate.h')
-rw-r--r-- | src/render/renderstates/qstencilopseparate.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/render/renderstates/qstencilopseparate.h b/src/render/renderstates/qstencilopseparate.h index fe3bf32ee..376151373 100644 --- a/src/render/renderstates/qstencilopseparate.h +++ b/src/render/renderstates/qstencilopseparate.h @@ -54,9 +54,9 @@ class QT3DRENDERSHARED_EXPORT QStencilOpSeparate : public QObject { Q_OBJECT Q_PROPERTY(FaceMode faceMode READ faceMode NOTIFY faceModeChanged) - Q_PROPERTY(Operation stencilFail READ stencilFail WRITE setStencilFail NOTIFY stencilFailChanged) - Q_PROPERTY(Operation depthFail READ depthFail WRITE setDepthFail NOTIFY depthFailChanged) - Q_PROPERTY(Operation stencilDepthPass READ stencilDepthPass WRITE setStencilDepthPass NOTIFY stencilDepthPassChanged) + Q_PROPERTY(Operation stencilTestFailureOperation READ stencilTestFailureOperation WRITE setStencilTestFailureOperation NOTIFY stencilTestFailureOperationChanged) + Q_PROPERTY(Operation depthTestFailureOperation READ depthTestFailureOperation WRITE setDepthTestFailureOperation NOTIFY depthTestFailureOperationChanged) + Q_PROPERTY(Operation allTestsPassOperation READ allTestsPassOperation WRITE setAllTestsPassOperation NOTIFY allTestsPassOperationChanged) public: enum FaceMode @@ -84,19 +84,19 @@ public: FaceMode faceMode() const; - Operation stencilFail() const; - Operation depthFail() const; - Operation stencilDepthPass() const; + Operation stencilTestFailureOperation() const; + Operation depthTestFailureOperation() const; + Operation allTestsPassOperation() const; public Q_SLOTS: - void setStencilFail(Operation operation); - void setDepthFail(Operation operation); - void setStencilDepthPass(Operation operation); + void setStencilTestFailureOperation(Operation operation); + void setDepthTestFailureOperation(Operation operation); + void setAllTestsPassOperation(Operation operation); Q_SIGNALS: - void stencilFailChanged(Operation stencilFail); - void depthFailChanged(Operation depthFail); - void stencilDepthPassChanged(Operation stencilDepthPass); + void stencilTestFailureOperationChanged(Operation stencilFail); + void depthTestFailureOperationChanged(Operation depthFail); + void allTestsPassOperationChanged(Operation stencilDepthPass); void faceModeChanged(FaceMode faceMode); private: |