Qt3DRender::QBlendEquationArguments Class
class Qt3DRender::QBlendEquationArgumentsEncapsula la información de mezcla: especifica cómo los valores entrantes (lo que se va a dibujar) van a afectar a los valores existentes (lo que ya está dibujado). Más...
| Cabecera: | #include <QBlendEquationArguments> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender)target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| En QML: | BlendEquationArguments |
| Hereda: | Qt3DRender::QRenderState |
| Status: | Obsoleto |
Tipos públicos
| enum | Blending { Zero, One, SourceColor, SourceAlpha, Source1Alpha, …, OneMinusSource1Color0 } |
Propiedades
|
|
Funciones públicas
| QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr) | |
| int | bufferIndex() const |
| Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
| Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
| Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
| Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
Ranuras públicas
| void | setBufferIndex(int index) |
| void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
| void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
| void | setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba) |
| void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
| void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
| void | setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba) |
Señales
| void | bufferIndexChanged(int index) |
| void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
| void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
| void | destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba) |
| void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
| void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
| void | sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba) |
Descripción detallada
OpenGL pre-3.0: Establece el mismo estado de mezcla para todos los buffers de dibujo (un QBlendEquationArguments) OpenGL 3.0-pre4.0: Establece el mismo estado de mezcla para todos los buffers de dibujo, pero puede deshabilitar la mezcla para buffers particulares (un QBlendEquationArguments para establecer glBlendFunc, n QBlendEquationArgumentss para habilitar/deshabilitar los buffers de dibujo) OpenGL 4.0+: Puede establecer el estado de mezcla individualmente para cada buffer de dibujo.
Documentación de tipos de miembros
enum QBlendEquationArguments::Blending
| Constante | Valor | Descripción |
|---|---|---|
Qt3DRender::QBlendEquationArguments::Zero | 0 | GL_ZERO |
Qt3DRender::QBlendEquationArguments::One | 1 | GL_ONE |
Qt3DRender::QBlendEquationArguments::SourceColor | 0x0300 | GL_SRC_COLOR |
Qt3DRender::QBlendEquationArguments::SourceAlpha | 0x0302 | GL_SRC_ALFA |
Qt3DRender::QBlendEquationArguments::Source1Alpha | 0x303 | GL_SRC1_ALFA |
Qt3DRender::QBlendEquationArguments::Source1Color | 0x304 | GL_SRC1_COLOR |
Qt3DRender::QBlendEquationArguments::DestinationColor | 0x0306 | GL_DST_COLOR |
Qt3DRender::QBlendEquationArguments::DestinationAlpha | 0x0304 | GL_DST_ALPHA |
Qt3DRender::QBlendEquationArguments::SourceAlphaSaturate | 0x0308 | GL_SRC_ALPHA_SATURATE |
Qt3DRender::QBlendEquationArguments::ConstantColor | 0x8001 | 0GL_CONSTANT_COLOR |
Qt3DRender::QBlendEquationArguments::ConstantAlpha | 0x8003 | GL_CONSTANT_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSourceColor | 0x0301 | GL_ONE_MINUS_SRC_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusSourceAlpha | 0x0303 | GL_ONE_MINUS_SRC_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationAlpha | 0x0305 | GL_ONE_MINUS_DST_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationColor | 0x0307 | GL_ONE_MINUS_DST_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusConstantColor | 0x8002 | GL_ONE_MINUS_CONSTANT_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusConstantAlpha | 0x8004 | GL_ONE_MINUS_CONSTANT_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Alpha | 0x8005 | GL_ONE_MINUS_SRC1_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color | 0x8006 | GL_ONE_MINUS_SRC1_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0 | OneMinusSource1Color | GL_ONE_MINUS_SRC1_COLOR (obsoleto) |
Documentación de propiedades
bufferIndex : int
Especifica el índice del Draw Buffer al que se aplica este BlendEquationArguments. Si es negativo, se aplicará a todos los Draw Buffers.
Funciones de acceso:
| int | bufferIndex() const |
| void | setBufferIndex(int index) |
Señal del notificador:
| void | bufferIndexChanged(int index) |
destinationAlpha : Blending
Funciones de acceso:
| Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
| void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
Señal de aviso:
| void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
destinationRgb : Blending
Funciones de acceso:
| Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
| void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
Señal de aviso:
| void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
sourceAlpha : Blending
Funciones de acceso:
| Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
| void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
Señal de aviso:
| void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
sourceRgb : Blending
Funciones de acceso:
| Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
| void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Señal de notificador:
| void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Documentación de la función miembro
[explicit] QBlendEquationArguments::QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)
El constructor crea un nuevo objeto de estado de mezcla con la dirección parent especificada.
[signal] void QBlendEquationArguments::destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Notifica que las propiedades destinationRgb y destinationAlpha han cambiado a destinationRgba.
[slot] void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Cambie las propiedades destinationRgb y destinationAlpha por destinationRgba.
[slot] void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Cambie las propiedades sourceRgb y sourceAlpha por sourceRgba.
[signal] void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Notifica que las propiedades sourceRgb y sourceAlpha han cambiado a sourceRgba.
© 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.