DepthTest QML Type
DepthTest 타입은 프래그먼트 셰이더의 깊이 값을, 쓰기 작업이 이루어지는 샘플의 깊이와 비교하여 검사합니다. 더 보기...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDepthTest |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
- depthFunction : enumeration
상세 설명
DepthTest 타입은 주어진 깊이 테스트 함수를 사용하여 깊이 테스트를 활성화하는 데 사용됩니다. 깊이 테스트는 테스트를 통과한 프래그먼트의 색상 값을 기록하고, 테스트에 실패한 프래그먼트는 거부합니다. 깊이 테스트는 깊이 함수를 사용하여 프래그먼트의 깊이 값을 z-버퍼의 값과 비교합니다. 기본 표면에 z-버퍼가 없는 경우, DepthTest는 아무 작업도 수행하지 않습니다.
AlphaTest 및 StencilTest도 참조하십시오 .
속성 설명서
depthFunction : enumeration
깊이 테스트에 사용되는 현재 함수를 저장합니다. 기본값은 ` DepthTest`입니다. `Never`.
- DepthTest.Never
- DepthTest.Always
- DepthTest.Less
- DepthTest.LessOrEqual
- DepthTest.Equal
- DepthTest.보다 크거나 같음
- DepthTest.보다 크다
- DepthTest.불등
Qt3DRender::QDepthTest::DepthFunction도 참조하십시오 .
© 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.