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 前綴的類隻應用於場景圖形渲染綫程。見 場景圖形和渲染 瞭解更多信息。