Qt3DRender::QShaderData Class
class Qt3DRender::QShaderDataPermite especificar los valores de un bloque uniforme o de una estructura de sombreador. Más información...
| Encabezado: | #include <Qt3DRender/QShaderData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| Heredado de: | Qt3DCore::QComponent |
| Estado: | Obsoleta |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
Funciones públicas
| QShaderData(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::PropertyReaderInterfacePtr | propertyReader() const |
Descripción detallada
Nota: Al crear subclases y añadir propiedades a `QShaderData`, ten en cuenta que, si necesitas anidar un ` Qt3DRender::QShaderData` interno, el tipo de datos de la propiedad debe ser ` Qt3DRender::QShaderData` en lugar del nombre de tu subclase.
Documentación de las funciones miembro
[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)
Crea un nuevo objeto `QShaderData` con el ` parent` especificado.
Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const
QShaderData::propertyReader Devuelve el PropertyReaderInterfacePtr correspondiente a estos datos 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.