1 | // Copyright (C) 2022 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include "qssgrenderskin_p.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | QSSGRenderSkin::QSSGRenderSkin() |
9 | : QSSGRenderTextureData(QSSGRenderGraphObject::Type::Skin) |
10 | { |
11 | setFormat(QSSGRenderTextureFormat::RGBA32F); |
12 | } |
13 | |
14 | QSSGRenderSkin::~QSSGRenderSkin() |
15 | { |
16 | } |
17 | |
18 | QByteArray &QSSGRenderSkin::boneData() |
19 | { |
20 | return m_textureData; |
21 | } |
22 | |
23 | QT_END_NAMESPACE |
24 |