1 | // Copyright (C) 2016 The Qt Company Ltd. |
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 QSGTEXTUREPROVIDER_H |
5 | #define QSGTEXTUREPROVIDER_H |
6 | |
7 | #include <QtQuick/qsgtexture.h> |
8 | #include <QtCore/qobject.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class Q_QUICK_EXPORT QSGTextureProvider : public QObject |
13 | { |
14 | Q_OBJECT |
15 | public: |
16 | virtual QSGTexture *texture() const = 0; |
17 | |
18 | Q_SIGNALS: |
19 | void textureChanged(); |
20 | }; |
21 | |
22 | QT_END_NAMESPACE |
23 | |
24 | #endif |
25 | |