QShaderData Class

class Qt3DRender::QShaderData

Bietet eine Möglichkeit, Werte eines Uniform Blocks oder einer Shaderstruktur anzugeben. Mehr...

Kopfzeile: #include <Qt3DRender/QShaderData>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Vererbt: Qt3DCore::QComponent
Status: Veraltet

Öffentliche Funktionen

QShaderData(Qt3DCore::QNode *parent = nullptr)
Qt3DRender::PropertyReaderInterfacePtr propertyReader() const

Detaillierte Beschreibung

Hinweis: Wenn Sie eine Unterklasse bilden und Eigenschaften zu QShaderData hinzufügen, beachten Sie, dass, wenn Sie eine innere Qt3DRender::QShaderData verschachteln müssen, der Datentyp der Eigenschaft Qt3DRender::QShaderData* anstelle des Namens Ihrer Unterklasse sein sollte.

Dokumentation der Mitgliedsfunktionen

[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)

Konstruiert ein neues QShaderData mit dem angegebenen parent.

Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const

QShaderData::propertyReader Gibt den PropertyReaderInterfacePtr für diese Shaderdaten zurück

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.