Qt3DRender::QBlendEquation Class
class Qt3DRender::QBlendEquationLa classe `QBlendEquation` définit l'équation utilisée à la fois pour l'équation de fusion RVB et pour l'équation de fusion alpha. En savoir plus...
| En-tête : | #include <Qt3DRender/QBlendEquation> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake : | QT += 3drender |
| En QML : | BlendEquation |
| Hérite de : | Qt3DRender::QRenderState |
| Statut : | Obsolète |
Cette classe est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.
Types publics
| enum | BlendFunction { Add, Subtract, ReverseSubtract, Min, Max } |
Propriétés
- blendFunction : BlendFunction
Fonctions publiques
| QBlendEquation(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
Emplacements publics
| void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Signaux
| void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Description détaillée
L'équation de fusion sert à déterminer comment un nouveau pixel est combiné avec un pixel déjà présent dans le tampon d'image.
Documentation sur les types de membres
enum QBlendEquation::BlendFunction
| Constante | Valeur | Description |
|---|---|---|
Qt3DRender::QBlendEquation::Add | 0x8006 | GL_FUNC_ADD |
Qt3DRender::QBlendEquation::Subtract | 0x800A | GL_FUNC_SUBTRACT |
Qt3DRender::QBlendEquation::ReverseSubtract | 0x800B | GL_FUNC_REVERSE_SUBTRACT |
Qt3DRender::QBlendEquation::Min | 0x8007 | GL_MIN |
Qt3DRender::QBlendEquation::Max | 0x8008 | GL_MAX |
Documentation sur les propriétés
blendFunction : BlendFunction
Contient la fonction de fusion, qui détermine la manière dont les couleurs source et cible sont combinées.
Fonctions d'accès :
| Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
| void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Signal de notification :
| void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Documentation des fonctions membres
[explicit] QBlendEquation::QBlendEquation(Qt3DCore::QNode *parent = nullptr)
Le constructeur crée un nouvel objet d'état de fusion 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.