summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicscontext_p.h
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-29 15:24:29 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-03-08 15:38:15 +0000
commite0b120eff6a2de9214bb37323b5a0b444620027a (patch)
tree10dfcc074d7f64268c4ae2da123440e09df8d61a /src/render/graphicshelpers/graphicscontext_p.h
parent2a98c7e7d20bf720c4f4b6444d6317e99face7ec (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.h1
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);