1 | // Copyright (C) 2020 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QSSG_RENDER_MORPH_TARGET_H |
5 | #define QSSG_RENDER_MORPH_TARGET_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 purely as an |
12 | // implementation detail. 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 <QtQuick3DRuntimeRender/private/qssgrendergraphobject_p.h> |
19 | #include <QtQuick3DRuntimeRender/private/qssgrendererutil_p.h> |
20 | |
21 | #include <QtCore/QVector> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderMorphTarget : public QSSGRenderGraphObject |
26 | { |
27 | enum class InputAttribute : quint8 |
28 | { |
29 | Position = 0x01, |
30 | Normal = 0x02, |
31 | Tangent = 0x04, |
32 | Binormal = 0x08, |
33 | TexCoord0 = 0x10, |
34 | TexCoord1 = 0x20, |
35 | Color = 0x40 |
36 | }; |
37 | Q_DECLARE_FLAGS(InputAttributes, InputAttribute); |
38 | |
39 | float weight = 0.0f; |
40 | InputAttributes attributes; |
41 | |
42 | QSSGRenderMorphTarget(); |
43 | ~QSSGRenderMorphTarget(); |
44 | }; |
45 | QT_END_NAMESPACE |
46 | |
47 | #endif |
48 | |