本页内容

StencilOperationArguments QML Type

StencilOperationArguments 类型用于设置在模板测试和深度测试失败时应采取的操作。更多内容...

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

QtObject

Status: Deprecated

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

属性

详细说明

StencilOperationArguments 类型用于指定模板操作的参数。

另请参阅 StencilOperation 。

属性文档

allTestsPassOperation : enumeration

用于控制深度测试和模板测试均通过时的模板测试操作。默认值为StencilOperationArguments.Keep。

另请参阅 StencilOperationArguments::stencilTestFailureOperation 和Qt3DRender::QStencilOperationArguments::Operation 。

depthTestFailureOperation : enumeration

在模板测试通过但深度测试失败时,保留模板测试操作。默认值为StencilOperationArguments.Keep。

另请参阅 StencilOperationArguments::stencilTestFailureOperation 和Qt3DRender::QStencilOperationArguments::Operation 。

faceMode : enumeration [read-only]

保存要应用参数的面。

另请参阅 Qt3DRender::QStencilOperationArguments::FaceMode 。

stencilTestFailureOperation : enumeration

用于在模板测试失败时保留模板测试操作。默认值为StencilOperationArguments.Keep。

另请参阅 Qt3DRender::QStencilOperationArguments::Operation 。

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