diff options
author | Mike Krus <mike.krus@kdab.com> | 2016-03-17 21:45:30 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-22 12:53:11 +0000 |
commit | 68667e9105744478bcfd2cf16efda71a350da372 (patch) | |
tree | bf88e711878abc9403b89a21a1927e999448a6d9 /src/render/graphicshelpers/graphicscontext_p.h | |
parent | e3c31c3a5a1061e2cf85e49398093b0a11437649 (diff) |
Added properties to QClearBuffers
- clearColor
- clearDepthValue
- clearStencilValue
Task-number: QTBUG-51460
Change-Id: Ib31efde0b6ab97ef1f57d4ce71fb2fbca218dc85
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicscontext_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h index ddf01ce0c..ea6db02ed 100644 --- a/src/render/graphicshelpers/graphicscontext_p.h +++ b/src/render/graphicshelpers/graphicscontext_p.h @@ -187,6 +187,8 @@ public: GLuint boundFrameBufferObject(); void buildUniformBuffer(const QVariant &v, const ShaderUniform &description, QByteArray &buffer); void clearColor(const QColor &color); + void clearDepthValue(float depth); + void clearStencilValue(int stencil); void cullFace(GLenum mode); void depthMask(GLenum mode); void depthTest(GLenum mode); |