DepthRange QML Type

深度バッファに書き込まれた深度値の再マッピングを有効にします。詳細...

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

RenderState

Status: Deprecated

詳細説明

デフォルトでは、OpenGLは近景と遠景のクリッププレーンに対応する範囲[0.0, 1.0]で深度バッファにシーンの深度情報を書き込みます。QDepthRange を使用すると、これらの値を別の範囲にマッピングできます。たとえば、[0.0, 0.5] の範囲を設定すると、近クリッププレーンにあるオブジェクトの深度値が 0.0 で、遠クリッププレーンにあるオブジェクトの深度値が 0.5 になるように、レンダリングされたシーンが深度バッファにマッピングされます。これにより、シーンの一部が常に他の部分の前または後ろにレンダリングされるようになります。

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