aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-09-21 07:13:38 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-27 13:02:14 +0200
commit6c0215a523b1294015e238018dc34cf56a46024c (patch)
tree543197d84a01b2c916acd5d8491a732a74f4b2bf /src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
parentffeadf7a7c09971fab09ed08b1f3f503c6facb7e (diff)
Add QSGPaintedItem docs to module and fix non-standard wording.
Change-Id: I763b1fdabdac36935bd14005a9e38b2494319726 Reviewed-on: http://codereview.qt-project.org/5521 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp')
-rw-r--r--src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp b/src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
index 637d549279..5f6270367f 100644
--- a/src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
+++ b/src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
@@ -110,9 +110,11 @@ const char *QSGVertexColorMaterialShader::fragmentShader() const {
/*!
\class QSGVertexColorMaterial
- \brief The QSGVertexColorMaterial provides a convenient way of rendering per-vertex
+ \brief The QSGVertexColorMaterial class provides a convenient way of rendering per-vertex
colored geometry in the scene graph.
+ \inmodule QtDeclarative
+
The vertex color material will give each vertex in a geometry a color. Pixels between
vertices will be linearly interpolated. The colors can contain transparency.
@@ -123,7 +125,7 @@ const char *QSGVertexColorMaterialShader::fragmentShader() const {
QSGGeometry::defaultAttributes_ColoredPoint2D() constructs an attribute set
compatible with this material.
- The vertex color material respets both current opacity and current matrix when
+ The vertex color material respects both current opacity and current matrix when
updating it's rendering state.
*/