QSGSimpleMaterial Class

template <typename State> class QSGSimpleMaterial

The QSGSimpleMaterial class is a template generated class used to store the state used with a QSGSimpleMateralShader. 更多...

頭: #include <QSGSimpleMaterial>
qmake: QT += quick
繼承: QSGMaterial

該類已過時。 提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

詳細描述

The state of the material is accessible through the template generated state() function.

注意: 所有帶有 QSG 前綴的類隻應用於場景圖形渲染綫程。見 場景圖形和渲染 瞭解更多信息。

另請參閱 QSGSimpleMaterialShader .