1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
5#ifndef QQUICK3DTEXTUREDATA_P_H
6#define QQUICK3DTEXTUREDATA_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QSize>
20
21#include <QtQuick3D/QQuick3DTextureData>
22#include <QtQuick3D/private/qquick3dobject_p.h>
23
24QT_BEGIN_NAMESPACE
25
26class QQuick3DTextureDataPrivate : public QQuick3DObjectPrivate
27{
28public:
29 QQuick3DTextureDataPrivate();
30
31 QByteArray textureData;
32 QSize size;
33 int depth = 0;
34 QQuick3DTextureData::Format format = QQuick3DTextureData::RGBA8;
35 bool hasTransparency = false;
36 bool textureDataDirty = false;
37};
38
39QT_END_NAMESPACE
40
41#endif // QQUICK3DTEXTUREDATA_P_H
42

source code of qtquick3d/src/quick3d/qquick3dtexturedata_p.h