TextureProviderExtension QML Type (Uncreatable)
テクスチャを生成するレンダリング拡張機能のための抽象基本型。詳細...
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| In C++: | QQuick3DTextureProviderExtension |
| Inherits: | |
| Inherited By: |
注:これは生成不可能な型です。QML ではインスタンス化できません。
列挙型
- SamplerHint
(since 6.11)
プロパティ
- samplerHint : SamplerHint
(since 6.11)
詳細な説明
TextureProviderExtension は、Qt Quick の 3D シーンに GPU テクスチャを公開するレンダリング拡張機能向けの、生成不可能な抽象基底型です。サブクラス(RenderOutputProvider など)をTexture のtextureProvider プロパティに割り当てることで、シーンでテクスチャが必要になった際に、その拡張機能のレンダリングコードが自動的に実行されるようになります。
RenderOutputProvider 、QQuick3DTextureProviderExtension 、およびQSSGRenderExtensionも参照してください 。
列挙型のドキュメント
[since 6.11] SamplerHint
この拡張機能が提供するテクスチャのタイプに関するヒントを指定します。
| 定数 | 説明 |
|---|---|
TextureProviderExtension.Sampler2D | 2Dテクスチャ |
TextureProviderExtension.Sampler2DArray | 配列テクスチャ |
TextureProviderExtension.Sampler3D | 3D テクスチャ |
TextureProviderExtension.SamplerCube | キューブマップテクスチャ |
TextureProviderExtension.SamplerCubeArray | キューブマップテクスチャの配列 |
TextureProviderExtension.SamplerBuffer | バッファテクスチャ |
この列挙型は Qt 6.11 で導入されました。
プロパティのドキュメント
samplerHint : SamplerHint [since 6.11]
このプロパティには、拡張機能によって提供されるテクスチャのタイプに関するヒントが含まれています。テクスチャデータは必要な時まで提供されないため、テクスチャコンポーネントを使用するマテリアルは、どのようなタイプのサンプラーを提供すべきかを知る必要があります。
デフォルト値は `TextureProviderExtension.Sampler2D` です。
注:この プロパティは、CustomMaterials を使用する場合にのみ使用されます。
このプロパティは Qt 6.11 で導入されました。
© 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.