TextureProviderExtension QML Type
テクスチャ・プロバイダ拡張用の、作成不可能な抽象ベース・タイプ。詳細...
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| In C++: | QQuick3DTextureProviderExtension |
| Inherits: |
プロパティ
- samplerHint : enumeration
詳細説明
QQuick3DTextureProviderExtension およびQSSGRenderExtensionも参照のこと 。
プロパティ・ドキュメンテーション
samplerHint : enumeration
このプロパティには、拡張機能によって提供されるテクスチャのタイプに関するヒントが含まれます。テクスチャデータは必要になるまで提供されないので、これは必要ですが、Textureコンポーネントを使用するマテリアルは、提供するサンプラのタイプを知る必要があります。このプロパティには、以下の値のいずれかを設定する必要があります:
| 定数 | 説明 |
|---|---|
TextureProviderExtension.Sampler2D | テクスチャは2Dテクスチャになります。 |
TextureProviderExtension.Sampler2DArray | テクスチャは配列テクスチャになります。 |
TextureProviderExtension.Sampler3D | テクスチャは3Dテクスチャになります。 |
TextureProviderExtension.SamplerCube | テクスチャはキューブマップテクスチャになります。 |
TextureProviderExtension.SamplerCubeArray | テクスチャはキューブマップテクスチャの配列になります。 |
TextureProviderExtension.SamplerBuffer | テクスチャはバッファテクスチャになります。 |
デフォルト値はTextureProviderExtension.Sampler2D です。
注意: このプロパティは CustomMaterials を使用する場合にのみ使用されます。
© 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.