AlphaTest QML Type

AlphaTestクラスはアルファ・リファレンス・テストを指定します。詳細...

Import Statement: import Qt3D.Render 2.8
In C++: QAlphaTest
Inherits:

RenderState

Status: Deprecated

プロパティ

詳しい説明

OpenGLのドキュメントで説明されているように、アルファテストは、入力されるフラグメントのアルファ値と一定の参照値との比較の結果を条件として、フラグメントを破棄する。

プロパティの説明

alphaFunction : enumeration

アルファテストによって使用されるアルファ関数を保持します。デフォルトはAlphaTest.Never。

Qt3DRender::QAlphaTest::AlphaFunctionも参照してください


referenceValue : real

アルファテストで使用される基準値を保持します。デフォルトは 0.0。設定すると、値は 0 から 1 の間でクランプされます。


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