En esta página

Qt3DRender::QShaderData Class

class Qt3DRender::QShaderData

Proporciona una forma de especificar valores de un Bloque Uniforme o una estructura de sombreado. Más...

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

Funciones Públicas

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

Descripción Detallada

Nota: Cuando subclases y añadas 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 Funciones Miembro

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

Construye un nuevo QShaderData con el parent especificado.

Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const

QShaderData::propertyReader Devuelve el PropertyReaderInterfacePtr para este shader data

© 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.