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/graphicscontext_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/graphicscontext_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicscontext_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h index 4795bfb73..dbedd57e0 100644 --- a/src/render/graphicshelpers/graphicscontext_p.h +++ b/src/render/graphicshelpers/graphicscontext_p.h @@ -205,6 +205,7 @@ public: void frontFace(GLenum mode); GLint maxClipPlaneCount(); void pointSize(bool programmable, GLfloat value); + void setClipPlane(int clipPlane, const QVector3D &normal, float distance); void setSeamlessCubemap(bool enable); void setVerticesPerPatch(GLint verticesPerPatch); |