このページでは

AlphaTest QML Type

AlphaTest クラスは、アルファ参照テストを定義します。詳細...

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

RenderState

Status: Deprecated

この型は非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

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

プロパティのドキュメント

alphaFunction : enumeration

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

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

referenceValue : real

アルファテストで使用される基準値を保持します。デフォルトは 0.0 です。設定された場合、その値は 0 から 1 の範囲にクリップされます。

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