1// Copyright (C) 2019 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DRENDER_QTEXTUREDATAUPDATE_P_H
5#define QT3DRENDER_QTEXTUREDATAUPDATE_P_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 for the convenience
12// of other Qt classes. 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 <Qt3DRender/qtextureimagedata.h>
19#include <Qt3DRender/qabstracttexture.h>
20#include <private/qglobal_p.h>
21
22#include <QtCore/qshareddata.h>
23
24QT_BEGIN_NAMESPACE
25
26namespace Qt3DRender {
27
28class QTextureDataUpdatePrivate : public QSharedData
29{
30public:
31 int m_x = 0;
32 int m_y = 0;
33 int m_z = 0;
34 int m_layer = 0;
35 int m_mipLevel = 0;
36 QAbstractTexture::CubeMapFace m_face = QAbstractTexture::CubeMapPositiveX;
37 QTextureImageDataPtr m_data;
38};
39
40} // Qt3DRender
41
42QT_END_NAMESPACE
43
44#endif // QT3DRENDER_QTEXTUREDATAUPDATE_P_H
45

source code of qt3d/src/render/texture/qtexturedataupdate_p.h