Qt3DRender::QShaderData Class
class Qt3DRender::QShaderDataConsente di specificare i valori di un blocco uniforme o di una struttura shader. Per saperne di più...
| Intestazione: | #include <Qt3DRender/QShaderData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| Eredita da: | Qt3DCore::QComponent |
| Stato: | Obsoleta |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Funzioni pubbliche
| QShaderData(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::PropertyReaderInterfacePtr | propertyReader() const |
Descrizione dettagliata
Nota: quando si creano sottoclassi e si aggiungono proprietà a `QShaderData`, tenere presente che, se è necessario annidare un ` Qt3DRender::QShaderData` interno, il tipo di dati della proprietà deve essere ` Qt3DRender::QShaderData*` anziché il nome della propria sottoclasse.
Documentazione delle funzioni membro
[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)
Crea un nuovo oggetto `QShaderData` con l'parent` specificato.
Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const
QShaderData::propertyReader Restituisce il PropertyReaderInterfacePtr relativo a questi dati dello shader
© 2026 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.