AlphaTest QML Type
AlphaTest 클래스는 알파 참조 테스트를 지정합니다. 더 보기...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QAlphaTest |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
- alphaFunction : enumeration
- referenceValue : real
상세 설명
OpenGL 문서에서 설명하듯이, 알파 테스트는 입력된 프래그먼트의 알파 값과 상수 참조 값 간의 비교 결과에 따라 프래그먼트를 버립니다.
속성 설명
alphaFunction : enumeration
알파 테스트에서 사용하는 알파 함수를 저장합니다. 기본값은 ` AlphaTest`입니다. `Never`입니다.
- AlphaTest.Never
- AlphaTest.Always
- AlphaTest.Less
- AlphaTest.LessOrEqual
- AlphaTest.Equal
- AlphaTest.보다 크거나 같음
- AlphaTest.보다 큼
- AlphaTest.불등
Qt3DRender::QAlphaTest::AlphaFunction도 참조하십시오 .
referenceValue : real
알파 테스트에서 사용하는 기준값을 저장합니다. 기본값은 0.0입니다. 이 값이 설정되면 0과 1 사이로 제한됩니다.
© 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.