DepthTest QML Type

DepthTest型は、フラグメントシェーダーの深度値を、書き込まれるサンプルの深度に対してテストします。詳細...

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

RenderState

Status: Deprecated

プロパティ

詳細説明

DepthTest型は、与えられた深度テスト関数で深度テストを有効にするために使用される。深度テストは、深度テストがパスした場合にフラグメントのカラー値を書き込むことを可能にし、テストに失敗したフラグメントを拒否する。深度テストは、深度関数を使用して、フラグメントの深度値をzバッファに対してテストします。基礎となるサーフェスがz-bufferを持っていない場合、DepthTestは何もしません。

AlphaTest およびStencilTestも参照してください

プロパティ ドキュメント

depthFunction : enumeration

深度テストが使用する現在の関数を保持します。デフォルトはDepthTest.Never です。

Qt3DRender::QDepthTest::DepthFunctionも参照


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