QShaderData Class

class Qt3DRender::QShaderData

ユニフォームブロックやシェーダー構造の値を指定する方法を提供します。詳細...

ヘッダ #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 を返します。

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