Sur cette page

Qt3DRender::QNoDepthMask Class

class Qt3DRender::QNoDepthMask

Désactiver l'écriture en profondeur. En savoir plus...

En-tête : #include <qnodepthmask.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake : QT += 3drender
En QML : NoDepthMask
Hérite de : Qt3DRender::QRenderState
Statut : Obsolète

Cette classe est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.

Fonctions publiques

QNoDepthMask(Qt3DCore::QNode *parent = nullptr)

Description détaillée

Une classe « Qt3DRender::QNoDepthMask » désactive l'écriture de la profondeur des fragments dans le tampon de profondeur.

Voir également Qt3DRender::QDepthTest.

Documentation des fonctions membres

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

Le constructeur crée une nouvelle instance de ` QNoDepthMask::QNoDepthMask ` avec l'parent` spécifiée.

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