1// Copyright (C) 2015 Lorenz Esch (TU Ilmenau).
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 QT3DEXTRAS_QPERVERTEXCOLORMATERIAL_H
5#define QT3DEXTRAS_QPERVERTEXCOLORMATERIAL_H
6
7#include <Qt3DExtras/qt3dextras_global.h>
8#include <Qt3DRender/qmaterial.h>
9#include <QtGui/QColor>
10
11QT_BEGIN_NAMESPACE
12
13namespace Qt3DExtras {
14
15class QPerVertexColorMaterialPrivate;
16
17class Q_3DEXTRASSHARED_EXPORT QPerVertexColorMaterial : public Qt3DRender::QMaterial
18{
19 Q_OBJECT
20
21public:
22 explicit QPerVertexColorMaterial(Qt3DCore::QNode *parent = nullptr);
23 ~QPerVertexColorMaterial();
24
25private:
26 Q_DECLARE_PRIVATE(QPerVertexColorMaterial)
27};
28
29} // namespace Qt3DExtras
30
31QT_END_NAMESPACE
32
33#endif // QT3DEXTRAS_QPERVERTEXCOLORMATERIAL_H
34

source code of qt3d/src/extras/defaults/qpervertexcolormaterial.h