summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qpointlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qpointlight.cpp')
-rw-r--r--src/render/frontend/qpointlight.cpp51
1 files changed, 35 insertions, 16 deletions
diff --git a/src/render/frontend/qpointlight.cpp b/src/render/frontend/qpointlight.cpp
index eca6af8b0..77cb68954 100644
--- a/src/render/frontend/qpointlight.cpp
+++ b/src/render/frontend/qpointlight.cpp
@@ -41,22 +41,21 @@ QT_BEGIN_NAMESPACE
namespace Qt3D {
-/*!
- *
- * Expected Shader struct
- *
- * \code
- *
- * struct PointLight
- * {
- * vec3 position;
- * vec4 color;
- * float intensity;
- * };
- *
- * uniform PointLight pointLights[10];
- *
- * \endcode
+/*
+ Expected Shader struct
+
+ \code
+
+ struct PointLight
+ {
+ vec3 position;
+ vec4 color;
+ float intensity;
+ };
+
+ uniform PointLight pointLights[10];
+
+ \endcode
*/
/*!
@@ -68,6 +67,26 @@ QPointLightPrivate::QPointLightPrivate()
{
}
+/*!
+ \class QPointLight
+ \inmodule Qt3DRender
+ \since 5.5
+
+ */
+
+/*!
+ \qmltype PointLight
+ \instantiates Qt3D::QPointLight
+ \inherits AbstractLight
+ \inqmlmodule Qt3D.Render
+ \since 5.5
+ \brief For OpenGL ...
+*/
+
+/*!
+ \fn Qt3D::QPointLight::QPointLight(QNode *parent)
+ Constructs a new QPointLight with the specified \a parent.
+ */
QPointLight::QPointLight(QNode *parent)
: QAbstractLight(*new QPointLightPrivate, parent)
{