QSSGRenderExtensionHelpers Class
拡張機能用のヘルパー関数を含むクラス。詳細...
Header: | #include <QSSGRenderExtensionHelpers> |
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}{テクスチャプロバイダ}として使用できます。
注意 : {QtQuick3D::Texture} アイテムで使用するなど、texture をレンダラブルで使用できるようにするには、拡張機能のQSSGRenderExtension::prepareData 呼び出し時にテクスチャを登録する必要があります。
注意: 新しいテクスチャでこの関数を呼び出すと、以前に登録されたテクスチャはすべて削除されます。
注意 : このエクステンションに nullptr を登録することで、テクスチャの登録を解除できます。
frameData
textureProviderも参照してください 。
© 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.