이 페이지에서

DepthRange QML Type

깊이 버퍼에 기록된 깊이 값을 재매핑할 수 있게 합니다. 더 보기...

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

RenderState

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.