QSGTextureProvider 類

QSGTextureProvider 類在 QML 中封裝基於紋理的實體。 更多...

頭: #include <QSGTextureProvider>
qmake: QT += quick
繼承: QObject

公共函數

virtual QSGTexture * texture () const = 0

信號

void textureChanged ()

詳細描述

QSGTextureProvider 首要活在場景圖形渲染綫程中。

另請參閱 場景圖形 - 2 紋理提供程序 .

成員函數文檔編製

[signal] void QSGTextureProvider:: textureChanged ()

此信號被發射當紋理改變時。

[pure virtual] QSGTexture *QSGTextureProvider:: texture () const

返迴紋理對象指針。