本页内容

StencilTest QML Type

StencilTest 类型指定了模板测试的参数。更多内容...

Import Statement: import Qt3D.Render 2.12
In C++: QStencilTest
Inherits:

RenderState

Status: Deprecated

此类型已弃用。我们强烈建议不要在新代码中使用它。

属性

  • back : StencilTestArguments
  • front : StencilTestArguments

详细说明

StencilTest 类型用于指定模板测试的参数。模板测试包含三个参数:模板测试函数、模板测试掩码和模板参考值。StencilTest 允许分别针对朝前和朝后的多边形设置这些参数。

另请参阅 StencilMask 和StencilOperation 。

属性文档

back : StencilTestArguments [read-only]

用于存储背向多边形的模板测试参数。

front : StencilTestArguments [read-only]

用于存储正面多边形的模板测试参数。

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