このページでは

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も参照してください

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