QSGSimpleMaterial Class

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

头: #include <QSGSimpleMaterial>
qmake: QT += quick
继承: QSGMaterial

额外继承成员

详细描述

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

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

注意: 所有带有 QSG 前缀的类只应用于场景图形渲染线程。见 场景图形和渲染 了解更多信息。

另请参阅 QSGSimpleMaterialShader .