Qt3DRender::QShaderData Class
class Qt3DRender::QShaderDataOferece uma maneira de especificar valores de um bloco uniforme ou de uma estrutura de shader. Mais...
| Cabeçalho: | #include <Qt3DRender/QShaderData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| Herdado de: | Qt3DCore::QComponent |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.
Funções públicas
| QShaderData(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::PropertyReaderInterfacePtr | propertyReader() const |
Descrição detalhada
Observação: Ao criar subclasses e adicionar propriedades à `QShaderData`, observe que, se for necessário aninhar um ` Qt3DRender::QShaderData` interno, o tipo de dados da propriedade deve ser ` Qt3DRender::QShaderData*` em vez do nome da sua subclasse.
Documentação das funções-membro
[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)
Cria um novo objeto `QShaderData` com o ` parent` especificado.
Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const
QShaderData::propertyReader Retorna o PropertyReaderInterfacePtr para esses dados de 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.