diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-07 11:03:21 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-07 11:12:26 +0300 |
commit | 9149d433a19613056be914d1d96a0f3517be8589 (patch) | |
tree | d53056794f0a17c0603c64a85776beb1a41f67b5 /src/datavis3d/engine/drawer_p.h | |
parent | bec634f4141be5300ab2354d784186f9c95a8db5 (diff) |
Added depth texture support to drawObject
Change-Id: I718d751bf623d5db526ae34ee6673e53c237f649
Change-Id: I718d751bf623d5db526ae34ee6673e53c237f649
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavis3d/engine/drawer_p.h')
-rw-r--r-- | src/datavis3d/engine/drawer_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datavis3d/engine/drawer_p.h b/src/datavis3d/engine/drawer_p.h index ae2ebc78..3b6a2c49 100644 --- a/src/datavis3d/engine/drawer_p.h +++ b/src/datavis3d/engine/drawer_p.h @@ -78,8 +78,8 @@ public: void setFont(const QFont &font); void setTransparency(LabelTransparency transparency); - void drawObject(ShaderHelper *shader, ObjectHelper *object, bool textured = false, - GLuint textureId = 0); + void drawObject(ShaderHelper *shader, ObjectHelper *object, GLuint textureId = 0, + GLuint depthTextureId = 0); void drawLabel(const QDataItem &item, const LabelItem &label, const QMatrix4x4 &viewmatrix, const QMatrix4x4 &projectionmatrix, const QVector3D &positionComp, const QVector3D &rotation, GLfloat maxHeight, |