QTextureImageDataGenerator Class

class Qt3DRender::QTextureImageDataGenerator

QAbstractTextureImage 用のテクスチャ画像データを提供する。もっと見る...

ヘッダ #include <QTextureImageDataGenerator>
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 と比較するメソッドを実装する。QAbstractTextureImageQTextureImageData をリロードする必要があるかどうかを示すブール値を返す。

関連する非会員

QTextureImageDataPtr

QTextureImageData への共有ポインタ。

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