DepthTest QML Type

DepthTest 유형은 조각 셰이더의 깊이 값을 쓰기 중인 샘플의 깊이와 비교하여 테스트합니다. 더 보기...

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

RenderState

Status: Deprecated

프로퍼티

상세 설명

DepthTest 유형은 지정된 깊이 테스트 함수를 사용하여 깊이 테스트를 활성화하는 데 사용됩니다. 깊이 테스트를 사용하면 깊이 테스트에 통과하면 조각 색상 값을 쓰고, 테스트에 실패하면 조각을 거부할 수 있습니다. 깊이 테스트는 깊이 함수를 사용하여 조각 깊이 값을 z-버퍼에 대한 값으로 테스트합니다. 기본 표면에 z-버퍼가 없는 경우 DepthTest는 아무 작업도 수행하지 않습니다.

AlphaTestStencilTest참조하십시오 .

프로퍼티 문서

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.