aboutsummaryrefslogtreecommitdiff
path: root/voronoisplat.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-07 15:09:06 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-07 15:09:06 +0100
commitd17979519423b8afb67d9178820a458bf6a5474a (patch)
tree07b2329942f3aff475eb15c11caa90caac7d9682 /voronoisplat.h
parenta26811fc6001ed03e0eb3f671418d1247758aab2 (diff)
VoronoiSplat: added some comments.
Diffstat (limited to 'voronoisplat.h')
-rw-r--r--voronoisplat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/voronoisplat.h b/voronoisplat.h
index 78dfd3e..5663f8b 100644
--- a/voronoisplat.h
+++ b/voronoisplat.h
@@ -19,7 +19,9 @@ public:
void bind();
- // When true is returned, should probably call resetOpenGLState() on window
+ // Call this whenever the texture should be updated (after changing the
+ // sites, values or colormap). When true is returned, should probably call
+ // resetOpenGLState() on QtQuick window
bool updateTexture();
bool hasAlphaChannel() const { return true; }