| 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 | #include "qsgtextureprovider.h" |
| 5 | |
| 6 | QT_BEGIN_NAMESPACE |
| 7 | |
| 8 | /*! |
| 9 | \class QSGTextureProvider |
| 10 | \brief The QSGTextureProvider class encapsulates texture based entities in QML. |
| 11 | \inmodule QtQuick |
| 12 | |
| 13 | The QSGTextureProvider lives primarily in the scene graph rendering thread. |
| 14 | |
| 15 | \sa {Scene Graph - Two Texture Providers} |
| 16 | */ |
| 17 | /*! |
| 18 | \fn QSGTexture *QSGTextureProvider::texture() const |
| 19 | |
| 20 | Returns a pointer to the texture object. |
| 21 | */ |
| 22 | /*! |
| 23 | \fn void QSGTextureProvider::textureChanged() |
| 24 | |
| 25 | This signal is emitted when the texture changes. |
| 26 | */ |
| 27 | |
| 28 | QT_END_NAMESPACE |
| 29 | |
| 30 | #include "moc_qsgtextureprovider.cpp" |
| 31 | |