本页内容

StencilOperation QML Type

StencilOperation 类型用于指定模板运算。更多内容...

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

RenderState

Status: Deprecated

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

属性

  • back : StencilOperationArguments
  • front : StencilOperationArguments

详细说明

StencilOperation 类型用于指定面向前和面向后的多边形的模板操作。模板操作控制在模板测试和深度测试通过或失败时,对片元执行的操作。

另请参阅 StencilTest 。

属性文档

back : StencilOperationArguments [read-only]

用于存储背向多边形的模板操作参数。

front : StencilOperationArguments [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.