Effect QML Type
Qt 3D シーンにおけるエフェクトの基本クラスです。詳細...
プロパティ
- parameters : list<Parameter>
- techniques : list<Technique>
詳細説明
Effectタイプは、マテリアルのレンダリング効果を生成するために、一連のテクニックとそれらのテクニックで使用されるパラメータを組み合わせたものです。
可能であれば、Effect インスタンスは複数の Material インスタンス間で共有する必要があります。
Effectに定義されたパラメータは、TechniqueとRenderPass に定義されたパラメータ(同名)をオーバーライドしますが、RenderPassFilter 、TechniqueFilter 、Materialのパラメータによってオーバーライドされます。
注: Effect ノードを無効にすることはできません。
Effect { id: effect techniques: [ Technique { id: gl3Technique graphicsApiFilter { api: GraphicsApiFilter.OpenGL profile: GraphicsApiFilter.CoreProfile majorVersion: 3 minorVersion: 1 } renderPasses: [ RenderPass { id: gl3Pass shaderProgram: ShaderProgram { ... } } ] } ] }
Material 、Technique 、Parameterも参照してください 。
プロパティ ドキュメント
このエフェクトで使用されるパラメータのリストを保持します。パラメータは、このエフェクトで使用されるシェーダに対応する一様な値を設定するために使用されます。
© 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.