Qt3DRender::QNoDepthMask Class

class Qt3DRender::QNoDepthMask

禁用深度写入。更多

头文件: #include <QNoDepthMask>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
在 QML 中: NoDepthMask
继承: Qt3DRender::QRenderState
状态:已废弃

公共函数

QNoDepthMask(Qt3DCore::QNode *parent = nullptr)

详细说明

Qt3DRender::QNoDepthMask 类禁止将片段深度写入深度缓冲区。

另请参阅 Qt3DRender::QDepthTest

成员函数文档

[explicit] QNoDepthMask::QNoDepthMask(Qt3DCore::QNode *parent = nullptr)

构造函数使用指定的parent 创建一个新的QNoDepthMask::QNoDepthMask 实例。

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