diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-02-29 15:24:29 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-08 15:38:15 +0000 |
commit | e0b120eff6a2de9214bb37323b5a0b444620027a (patch) | |
tree | 10dfcc074d7f64268c4ae2da123440e09df8d61a /src/render/graphicshelpers/graphicshelpergl3_3_p.h | |
parent | 2a98c7e7d20bf720c4f4b6444d6317e99face7ec (diff) |
QClipPlane rename and added properties
- storing values in backend
- new functions being added
renamed plane to planeIndex
added QVector3D normal property
added float distance property
As per API review
Task-number: QTBUG-51435
Change-Id: Ie52804716510981af1467e96003304324fadd4d8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3_3_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicshelpergl3_3_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3_p.h b/src/render/graphicshelpers/graphicshelpergl3_3_p.h index c2cd230b4..7509a91fc 100644 --- a/src/render/graphicshelpers/graphicshelpergl3_3_p.h +++ b/src/render/graphicshelpers/graphicshelpergl3_3_p.h @@ -113,6 +113,7 @@ public: QVector<ShaderUniform> programUniformsAndLocations(GLuint programId) Q_DECL_OVERRIDE; QVector<ShaderStorageBlock> programShaderStorageBlocks(GLuint programId) Q_DECL_OVERRIDE; void releaseFrameBufferObject(GLuint frameBufferId) Q_DECL_OVERRIDE; + void setClipPlane(int clipPlane, const QVector3D &normal, float distance) Q_DECL_OVERRIDE; void setSeamlessCubemap(bool enable) Q_DECL_OVERRIDE; void setVerticesPerPatch(GLint verticesPerPatch) Q_DECL_OVERRIDE; bool supportsFeature(Feature feature) const Q_DECL_OVERRIDE; |