DepthRange QML Type
深度バッファに書き込まれる深度値の再マッピングを有効にします。詳細...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDepthRange |
| Inherits: | |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
詳細な説明
デフォルトでは、OpenGL はシーンの深度情報を、ニアクリップ面およびファークリップ面に対応する [0.0, 1.0] の範囲で深度バッファに書き込みます。QDepthRange を使用すると、これらの値を別の範囲にマッピングすることができます。 たとえば、範囲 [0.0, 0.5] を設定すると、レンダリングされたシーンが深度バッファにマッピングされ、ニアクリッププレーン上のオブジェクトの深度値は 0.0、ファークリッププレーン上のオブジェクトの深度値は 0.5 になります。これにより、シーンの一部を常に他の部分の前面または背面にレンダリングすることが可能になります。
© 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.