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_P_H
5#define QT3DEXTRAS_QPERVERTEXCOLORMATERIAL_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/qmaterial_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DRender {
23
24class QFilterKey;
25class QEffect;
26class QTechnique;
27class QParameter;
28class QShaderProgram;
29class QRenderPass;
30
31} // namespace Qt3DRender
32
33namespace Qt3DExtras {
34
35class QPerVertexColorMaterial;
36
37class QPerVertexColorMaterialPrivate : public Qt3DRender::QMaterialPrivate
38{
39public:
40 QPerVertexColorMaterialPrivate();
41
42 void init();
43
44 Qt3DRender::QEffect *m_vertexEffect;
45 Qt3DRender::QTechnique *m_vertexGL3Technique;
46 Qt3DRender::QTechnique *m_vertexGL2Technique;
47 Qt3DRender::QTechnique *m_vertexES2Technique;
48 Qt3DRender::QTechnique *m_vertexRHITechnique;
49 Qt3DRender::QRenderPass *m_vertexGL3RenderPass;
50 Qt3DRender::QRenderPass *m_vertexGL2RenderPass;
51 Qt3DRender::QRenderPass *m_vertexES2RenderPass;
52 Qt3DRender::QRenderPass *m_vertexRHIRenderPass;
53 Qt3DRender::QShaderProgram *m_vertexGL3Shader;
54 Qt3DRender::QShaderProgram *m_vertexGL2ES2Shader;
55 Qt3DRender::QShaderProgram *m_vertexRHIShader;
56 Qt3DRender::QFilterKey *m_filterKey;
57
58 Q_DECLARE_PUBLIC(QPerVertexColorMaterial)
59};
60
61} // Qt3DExtras
62
63QT_END_NAMESPACE
64
65#endif // QT3DEXTRAS_QPERVERTEXCOLORMATERIAL_P_H
66
67

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