QSGDynamicTexture Class
QSGDynamicTexture クラスは、FBO にレンダリングされるコンテンツなど、動的に変化するテクスチャの基底クラスとして機能します。詳細...
| ヘッダー: | #include <QSGDynamicTexture> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Quick) target_link_libraries(mytarget PRIVATE Qt6::Quick) |
| qmake: | QT += quick |
| 継承元: | QSGTexture |
パブリック関数
| QSGDynamicTexture() | |
| virtual bool | updateTexture() = 0 |
詳細な説明
テクスチャの内容を更新するには、updateTexture() を明示的に呼び出してください。
注: 接頭辞「QSG」が付いたすべてのクラスは 、シーングラフのレンダリングスレッドでのみ使用する必要があります。詳細については、「シーングラフとレンダリング」を参照してください。
メンバ関数のドキュメント
[noexcept default] QSGDynamicTexture::QSGDynamicTexture()
QSGDynamicTexture のインスタンスをデフォルトコンストラクタで生成します。
[pure virtual] bool QSGDynamicTexture::updateTexture()
動的テクスチャを明示的に更新するには、この関数を呼び出します。
更新の結果、テクスチャが変更された場合は true を返し、そうでない場合は false を返します。
注:この関数は通常 、QQuickItem::updatePaintNode() またはQSGNode::preprocess() から呼び出されます。つまり、シーングラフのsynchronization フェーズまたはnode preprocessing フェーズ中に呼び出されます。それ以外のタイミングで呼び出すことは推奨されず、予期しない動作を引き起こす可能性があります。
© 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.