1 | // Copyright (C) 2014 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_QTECHNIQUE_P_H |
5 | #define QT3DRENDER_QTECHNIQUE_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 <private/qnode_p.h> |
19 | #include <Qt3DRender/qgraphicsapifilter.h> |
20 | #include <private/qgraphicsapifilter_p.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | namespace Qt3DRender { |
25 | |
26 | class QTechnique; |
27 | class QFilterKey; |
28 | class QParameter; |
29 | class QRenderPass; |
30 | |
31 | class QTechniquePrivate : public Qt3DCore::QNodePrivate |
32 | { |
33 | public: |
34 | QTechniquePrivate(); |
35 | ~QTechniquePrivate(); |
36 | |
37 | Q_DECLARE_PUBLIC(QTechnique) |
38 | QList<QFilterKey *> m_filterKeys; |
39 | QList<QParameter *> m_parameters; |
40 | QList<QRenderPass *> m_renderPasses; |
41 | QGraphicsApiFilter m_graphicsApiFilter; |
42 | |
43 | private: |
44 | void _q_graphicsApiFilterChanged(); |
45 | }; |
46 | |
47 | } // namespace Qt3DRender |
48 | |
49 | QT_END_NAMESPACE |
50 | |
51 | #endif // QT3DRENDER_QTECHNIQUE_P_H |
52 | |