Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssgrendermorphtarget_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QSSG_RENDER_MORPH_TARGET_H
7#define QSSG_RENDER_MORPH_TARGET_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQuick3DRuntimeRender/private/qssgrendergraphobject_p.h>
21#include <QtQuick3DRuntimeRender/private/qssgrendererutil_p.h>
22
23#include <QtCore/QVector>
24
26
27struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderMorphTarget : public QSSGRenderGraphObject
28{
29 enum class InputAttribute : quint8
30 {
31 Position = 0x01,
32 Normal = 0x02,
33 Tangent = 0x04,
34 Binormal = 0x08,
35 TexCoord0 = 0x10,
36 TexCoord1 = 0x20,
37 Color = 0x40
38 };
39 Q_DECLARE_FLAGS(InputAttributes, InputAttribute);
40
41 float weight = 0.0f;
42 InputAttributes attributes;
43
44 QSSGRenderMorphTarget();
45 ~QSSGRenderMorphTarget();
46};
47QT_END_NAMESPACE
48
49#endif