1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DRENDER_RENDER_ENVIRONMENTLIGHT_P_H
5#define QT3DRENDER_RENDER_ENVIRONMENTLIGHT_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <Qt3DRender/private/backendnode_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DRender {
23
24namespace Render {
25
26class Q_3DRENDERSHARED_PRIVATE_EXPORT EnvironmentLight : public BackendNode
27{
28public:
29 Qt3DCore::QNodeId shaderData() const;
30 void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override;
31
32private:
33 Qt3DCore::QNodeId m_shaderDataId;
34};
35
36} // namespace Render
37
38} // namespace Qt3DRender
39
40QT_END_NAMESPACE
41
42Q_DECLARE_METATYPE(Qt3DRender::Render::EnvironmentLight*) // LCOV_EXCL_LINE
43
44#endif // QT3DRENDER_RENDER_ENVIRONMENTLIGHT_P_H
45

source code of qt3d/src/render/lights/environmentlight_p.h