Qt3DRender::QShaderData Class
class Qt3DRender::QShaderDataUniform Block やシェーダー構造体の値を指定する方法を提供します。詳細...
| ヘッダー: | #include <Qt3DRender/QShaderData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 継承元: | Qt3DCore::QComponent |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
パブリック関数
| QShaderData(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::PropertyReaderInterfacePtr | propertyReader() const |
詳細な説明
注: QShaderData をサブクラス化してプロパティを追加する場合 、内部の `Qt3DRender::QShaderData` をネストする必要がある場合は、プロパティのデータ型をサブクラスの名前ではなく `Qt3DRender::QShaderData*` にする必要があることに注意してください。
メンバ関数のドキュメント
[explicit] QShaderData::QShaderData(Qt3DCore::QNode *parent = nullptr)
指定されたparent を使用して、新しいQShaderDataを生成します。
Qt3DRender::PropertyReaderInterfacePtr QShaderData::propertyReader() const
QShaderData::propertyReader このシェーダーデータの PropertyReaderInterfacePtr を返します
© 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.