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_SKELETON_H
5#define QSSG_RENDER_SKELETON_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/qssgrendernode_p.h>
19#include <QtQuick3DRuntimeRender/private/qssgrendertexturedata_p.h>
20
21QT_BEGIN_NAMESPACE
22
23class QSSGRenderTextureData;
24
25struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderSkeleton : public QSSGRenderNode
26{
27 explicit QSSGRenderSkeleton();
28 ~QSSGRenderSkeleton();
29 Q_DISABLE_COPY(QSSGRenderSkeleton)
30
31 int maxIndex = -1;
32
33 bool boneTransformsDirty = false;
34 bool skinningDirty = false;
35 bool containsNonJointNodes = false;
36 QByteArray boneData;
37 QSSGRenderTextureData boneTexData;
38 quint32 boneCount = 0;
39};
40QT_END_NAMESPACE
41
42#endif
43

source code of qtquick3d/src/runtimerender/graphobjects/qssgrenderskeleton_p.h