StencilTestArguments QML Type
StencilTestArguments 类型用于指定模板测试的参数。更多内容...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QStencilTestArguments |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- comparisonMask : int
- faceMode : enumeration
- referenceValue : int
- stencilFunction : enumeration
详细说明
StencilTestArguments 类型用于指定模板测试的参数。
属性文档
comparisonMask : int
用于存放模板测试的比较掩码。默认值为全零。
faceMode : enumeration [read-only]
保存要应用参数的面。
- StencilTestArguments.Front
- StencilTestArguments.Back
- StencilTestArguments.FrontAndBack
另请参阅 Qt3DRender::QStencilTestArguments::StencilFaceMode 。
referenceValue : int
存储模板测试的参考值。默认值为零。
stencilFunction : enumeration
包含模板测试功能。默认值为StencilTestArguments.Never。
- StencilTestArguments.Never
- StencilTestArguments.Always
- StencilTestArguments.Less
- StencilTestArguments.小于或等于
- StencilTestArguments.等于
- StencilTestArguments.大于或等于
- StencilTestArguments.大于
- StencilTestArguments.不等于
© 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.