summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-08-22 10:56:49 +0200
committerNico Vertriest <nico.vertriest@qt.io>2017-08-30 11:40:53 +0000
commitc3ad4dbcf3d10738c116d836cc8a284b1f72beb8 (patch)
tree8c42a6730fce9b9e8dcf0d85ed50e3c585509bb5
parent235cb06b60f9fabb68957b72528352412faab7a7 (diff)
Doc: add missing doc QGeometry
Change-Id: I9d1fef3f793f9d3eb4ef0bb3fff356539fc03e2c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
-rw-r--r--src/render/geometry/qgeometry.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/render/geometry/qgeometry.cpp b/src/render/geometry/qgeometry.cpp
index 3d281866d..cf5ae70ef 100644
--- a/src/render/geometry/qgeometry.cpp
+++ b/src/render/geometry/qgeometry.cpp
@@ -128,6 +128,17 @@ QGeometry::QGeometry(QNode *parent)
: QGeometry(*new QGeometryPrivate(), parent) {}
/*!
+ \fn QGeometryFactory::operator()()
+
+ Returns the generated geometry.
+*/
+/*!
+ \fn bool QGeometryFactory::operator==(const QGeometryFactory &other) const = 0
+
+ Compares the factory with the factory specified in \a other.
+ Returns true if they are equal.
+*/
+/*!
\internal
*/
QGeometry::~QGeometry()
@@ -143,6 +154,7 @@ QGeometry::QGeometry(QGeometryPrivate &dd, QNode *parent)
}
/*!
+ \fn void Qt3DRender::QGeometry::addAttribute(Qt3DRender::QAttribute *attribute)
Adds an \a attribute to this geometry.
*/
void QGeometry::addAttribute(QAttribute *attribute)
@@ -171,6 +183,12 @@ void QGeometry::addAttribute(QAttribute *attribute)
}
/*!
+ \fn Qt3DRender::QGeometry(QGeometryPrivate &dd, Qt3DCore::QNode *parent)
+
+ \internal
+*/
+/*!
+ \fn void Qt3DRender::QGeometry::removeAttribute(Qt3DRender::QAttribute *attribute)
Removes the given \a attribute from this geometry.
*/
void QGeometry::removeAttribute(QAttribute *attribute)