QSSGRenderExtensionHelpers Class
拡張機能用のヘルパー関数を含むクラス。詳細...
| Header: | #include <qssgrenderhelpers.h> |
| Since: | Qt 6.7 |
静的パブリックメンバ
| void | registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture) |
メンバ関数のドキュメント
[static] void QSSGRenderExtensionHelpers::registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture)
このextension に対して、テクスチャの形式でレンダリング結果を登録します。テクスチャが登録されると、この拡張機能はQML内で{QtQuick3D::Texture::textureProvider}{テクスチャプロバイダ}として使用できるようになります。
注: texture をレンダラブル(例えば、{QtQuick3D::Texture}アイテム)で使用できるようにするには 、拡張機能のQSSGRenderExtension::prepareData 呼び出し中にテクスチャを登録する必要があります。
注: 新しいテクスチャを指定してこの関数を呼び出すと 、以前に登録されたテクスチャはすべて登録解除されます。テクスチャの登録を解除するには、nullptr テクスチャを指定してこの関数を呼び出してください。
frameData
「textureProvider」も参照してください 。
© 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.