StencilMask QML Type
StencilMask 类型用于控制模板平面中各个位的正面和背面写入。更多...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QStencilMask |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- backOutputMask : int
- frontOutputMask : int
详细说明
StencilMask 类型用于指定模板测试的掩码。可以分别针对朝向前侧和朝向后侧的多边形指定掩码。在应用模板函数之前,模板测试的参考值和模板缓冲区值会与该掩码进行与运算。
另请参阅 StencilTest 。
属性文档
backOutputMask : int
保存背向多边形片段模板值的写入掩码。
frontOutputMask : int
存储面向前方的多边形片段模板值的写入掩码。
© 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.