このページでは

Qt3DRender::QTextureImageDataGenerator Class

class Qt3DRender::QTextureImageDataGenerator

QAbstractTextureImage 用のテクスチャ画像データを提供します。詳細...

ヘッダー: #include <qtextureimagedatagenerator.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
継承元: Qt3DCore::QAbstractFunctor
ステータス: 非推奨

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

パブリック関数

virtual Qt3DRender::QTextureImageDataPtr operator()() = 0
virtual bool operator==(const Qt3DRender::QTextureImageDataGenerator &other) const = 0

詳細な説明

QTextureImageDataGenerator は、QAbstractTexture 用のデータプロバイダです。QTextureImageDataGenerator を使用すると、Qt3D を拡張して、テクスチャ画像データを読み込む方法をさらに増やしたり、ユーザー定義のフォーマットや Qt3D がネイティブでサポートしていないフォーマットをサポートしたりすることができます。 データは、テクスチャに読み込まれるデータを含む `QTextureImageDataPtr ` によって返されます。QTextureImageDataGenerator は、バックエンドの Aspect ジョブによって実行されます。

メンバ関数のドキュメント

[pure virtual] Qt3DRender::QTextureImageDataPtr QTextureImageDataGenerator::operator()()

テクスチャ画像データを返すメソッドを実装してください。

[pure virtual] bool QTextureImageDataGenerator::operator==(const Qt3DRender::QTextureImageDataGenerator &other) const

このテクスチャデータジェネレータを `other` と比較するメソッドを実装してください。QAbstractTextureImage が `QTextureImageData` を再読み込みする必要があるかどうかを示すブール値を返します。

関連する非メンバー関数

QTextureImageDataPtr

QTextureImageData への共有ポインタ。

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