Qt3DRender::QBlendEquation Class
class Qt3DRender::QBlendEquationA classe QBlendEquation define a equação utilizada tanto para a equação de mistura RGB quanto para a equação de mistura alfa. Mais...
| Cabeçalho: | #include <Qt3DRender/QBlendEquation> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| No QML: | BlendEquation |
| Herdado de: | Qt3DRender::QRenderState |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos fortemente que não seja utilizada em código novo.
Tipos públicos
| enum | BlendFunction { Add, Subtract, ReverseSubtract, Min, Max } |
Propriedades
- blendFunction : BlendFunction
Funções públicas
| QBlendEquation(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
Slots públicos
| void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Sinais
| void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Descrição detalhada
A equação de mistura é usada para determinar como um novo pixel é combinado com um pixel já presente no framebuffer.
Documentação do tipo de membro
enum QBlendEquation::BlendFunction
| Constante | Valor | Descrição |
|---|---|---|
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 |
Documentação de propriedades
blendFunction : BlendFunction
Contém a função de mistura, que determina como as cores de origem e de destino são combinadas.
Funções de acesso:
| Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
| void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Sinal de notificação:
| void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
Documentação das funções de membro
[explicit] QBlendEquation::QBlendEquation(Qt3DCore::QNode *parent = nullptr)
O construtor cria um novo objeto de estado de mistura com o ` parent` especificado.
© 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.