The QSGMaterialType class is used as a unique type token in combination with QSGMaterial . 更多...
| 头: |
#include <QSGMaterialType>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Quick)
target_link_libraries(mytarget PRIVATE Qt6::Quick)
|
| qmake: |
QT += quick
|
It serves no purpose outside the QSGMaterial::type () 函数。
注意: 所有带有 QSG 前缀的类只应用于场景图形渲染线程。见 场景图形和渲染 了解更多信息。