QSGMaterialType Struct

The QSGMaterialType class is used as a unique type token in combination with QSGMaterial . 更多...

Header: #include <QSGMaterialType>
CMake: find_package(Qt6 COMPONENTS Quick REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Quick)
qmake: QT += quick


    It serves no purpose outside the QSGMaterial::type () 函数。

    注意: All classes with QSG prefix should be used solely on the scene graph's rendering thread. See 场景图形和渲染 了解更多信息。