summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qmaterial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qmaterial.cpp')
-rw-r--r--src/render/frontend/qmaterial.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/render/frontend/qmaterial.cpp b/src/render/frontend/qmaterial.cpp
index e9de8a21c..4cd5713ba 100644
--- a/src/render/frontend/qmaterial.cpp
+++ b/src/render/frontend/qmaterial.cpp
@@ -43,8 +43,7 @@
#include <Qt3DCore/qscenepropertychange.h>
/*!
- * \class QMaterial
- * \namespace Qt3D
+ * \class Qt3D::QMaterial
*
* \inherits Component
*
@@ -53,16 +52,21 @@
*
* QAbstractMaterial provide a way to specify the rendering of an Entity.
* Any aspect can define its own subclass of QAbstractMaterial so that a
- * Material can be used to describe a visual element, the way sound should
- * reflect on an element, the temperature of a surface and so on.
+ * Material can be used to describe a visual element; for example, the way
+ * sound should reflect off an element, the temperature of a surface,
+ * and so on.
*
- * \sa QEffect, QMesh, QComponent
+ * \sa QEffect, QMesh, {Qt3D::}{QComponent}
*/
QT_BEGIN_NAMESPACE
namespace Qt3D {
+/*!
+ \class Qt3D::QMaterialPrivate
+ \internal
+*/
QMaterialPrivate::QMaterialPrivate(QMaterial *qq)
: QComponentPrivate(qq)
, m_effect(Q_NULLPTR)
@@ -85,6 +89,7 @@ QMaterial::QMaterial(QNode *parent)
{
}
+/*! \internal */
QMaterial::QMaterial(QMaterialPrivate &dd, QNode *parent)
: QComponent(dd, parent)
{