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_QSHADERIMAGE_P_H |
5 | #define QT3DRENDER_QSHADERIMAGE_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 <Qt3DCore/private/qnode_p.h> |
19 | #include <Qt3DRender/qshaderimage.h> |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | namespace Qt3DRender { |
24 | |
25 | class QAbstractTexture; |
26 | |
27 | class QShaderImagePrivate : public Qt3DCore::QNodePrivate |
28 | { |
29 | public: |
30 | QShaderImagePrivate(); |
31 | ~QShaderImagePrivate(); |
32 | |
33 | Q_DECLARE_PUBLIC(QShaderImage) |
34 | |
35 | Qt3DRender::QAbstractTexture *m_texture; |
36 | int m_mipLevel; |
37 | int m_layer; |
38 | QShaderImage::Access m_access; |
39 | QShaderImage::ImageFormat m_format; |
40 | bool m_layered; |
41 | }; |
42 | |
43 | } // namespace Qt3DRender |
44 | |
45 | QT_END_NAMESPACE |
46 | |
47 | #endif // QT3DRENDER_QSHADERIMAGE_P_H |
48 | |