TextureInput QML Type

CustomMaterial または Effect のシェーダに公開されるテクスチャを指定します。詳細...

Import Statement: import QtQuick3D
Inherits:

QtObject

プロパティ

詳細説明

この型は、Effectrender pass 内、またはCustomMaterial 内で、Texture をシェーダに公開するために使用できます。 これは主に、シェーダから参照できるローカル名をTexture に割り当てるために存在します。

TextureInput プロパティがEffect またはCustomMaterial で宣言されると、そのプロパティ名によって、すべてのシェーダでサンプラとして自動的に利用できるようになります。

プロパティ ドキュメント

enabled : bool

このプロパティは、このTextureInput が有効かどうかを決定します。デフォルト値は true です。無効にすると、エフェクトのシェーダは、texture で指定されたテクスチャではなく、ダミーの不透明な黒色テクスチャをサンプリングします。


texture : Texture

このTextureInput がインダイレクトとして機能するテクスチャです。


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