StencilMask QML Type

StencilMask 类型控制模板平面中各个位的前后写入。更多

Import Statement: import Qt3D.Render 2.9
In C++: QStencilMask
Inherits:

RenderState

Status: Deprecated

属性

详细描述

StencilMask 类型指定钢网测试的遮罩。可以为正面和背面的多边形分别指定遮罩。在应用模版功能之前,模版测试参考值和模版缓冲区值会与掩码一起被处理。

另请参阅 StencilTest

属性文档

backOutputMask : int

为背向多边形的片段模版值保存写入掩码。


frontOutputMask : int

为正面多边形的片段模版值保存写入掩码。


© 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.